How to Enable Docker Remote Access on VMware Photon
- "sudo -s"
- "nano /etc/systemd/system/multi-user.target.wants/docker.service"
- change ExecStart to "ExecStart=/bin/docker -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock -d -s overlay"
- save, exit, and restart the VM
- test with "curl localhost:2375/info" and the response should be a JSON document
No comments:
Post a Comment