Skip to content

Instantly share code, notes, and snippets.

@diversit
Created June 27, 2015 19:35
Show Gist options
  • Select an option

  • Save diversit/230fa159f4772d288992 to your computer and use it in GitHub Desktop.

Select an option

Save diversit/230fa159f4772d288992 to your computer and use it in GitHub Desktop.
Boot2Docker on Mac: disable TLS
In Boot2Docker VM: /var/lib/boot2docker/profile:
----
DOCKER_TLS="no"
----
On localhost, in .profile:
----
DOCKER_HOST=tcp://192.168.59.103:2376
DOCKER_TLS_VERIFY=
DOCKER_CERT_PATH=/Users/joost/.boot2docker/certs/boot2docker-vm
DOCKER_REGISTRY=
----
Boot2docker restart
'docker ps' should now work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment