prakhar1989/docker-curriculum

Dockerhub on Windows

已關閉

#338 建立於 2022年4月15日

 (0 則留言) (0 個反應) (0 位負責人)CSS (1,686 個分叉)batch import
help wantedquestion

倉庫指標

星標
 (4,274 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Going through the excellent tutorial, but getting stuck after running the elasticsearch container. I can't connect to it: PS C:\Users\gordo\docker\FoodTrucks> docker run -d --name es -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.3.2 447a42fa057a742df9c143a15f937385511544e8ce8f94873ae7cc1a445c8f34

PS C:\Users\gordo\docker\FoodTrucks> curl 0.0.0.0:9200 curl : Unable to connect to the remote server At line:1 char:1

  • curl 0.0.0.0:9200
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
    
    
    

貢獻者指南