docker-machine: Can't access container's web server from host

后端 未结 6 1449
醉酒成梦
醉酒成梦 2020-12-23 09:39

I just installed Docker with Docker-Toolbox on my Mac using homebrew: install docker with homebrew

After creating and configuring a Container with Rails, Postgres an

6条回答
  •  感动是毒
    2020-12-23 10:23

    You need to add sonething like below "ports" entry to map port from localhost to the container:

    ports:
      - "4001:8001"
    

提交回复
热议问题