SyntaxHighlighter

Tuesday, July 28, 2015

VMware Photon and Docker Remote Service

How to Enable Docker Remote Access on VMware Photon


  1. "sudo -s"
  2. "nano /etc/systemd/system/multi-user.target.wants/docker.service"
  3. change ExecStart to "ExecStart=/bin/docker -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock -d -s overlay"
  4. save, exit, and restart the VM
  5. test with "curl localhost:2375/info" and the response should be a JSON document

No comments:

Post a Comment