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/"
  3. change ExecStart to "ExecStart=/bin/docker -H tcp:// -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