Skip to content

Instantly share code, notes, and snippets.

@rleibovitz89
Created July 14, 2015 14:47
Show Gist options
  • Save rleibovitz89/ebc52873979da2e25b47 to your computer and use it in GitHub Desktop.
Save rleibovitz89/ebc52873979da2e25b47 to your computer and use it in GitHub Desktop.
Last login: Fri Jul 10 11:34:54 on ttys009
Rleibovitzs-MacBook-Air:~ rleibovitz$ boot2docker stop
Rleibovitzs-MacBook-Air:~ rleibovitz$ boot2docker delete
Rleibovitzs-MacBook-Air:~ rleibovitz$ boot2docker init
boot2docker start
Rleibovitzs-MacBook-Air:~ rleibovitz$ boot2docker start
Waiting for VM and Docker daemon to start...
............................ooooooooooooooooooooooo
Started.
Writing /Users/rleibovitz/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/rleibovitz/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/rleibovitz/.boot2docker/certs/boot2docker-vm/key.pem
To connect the Docker client to the Docker daemon, please set:
export DOCKER_HOST=tcp://192.168.59.107:2376
export DOCKER_CERT_PATH=/Users/rleibovitz/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1
Rleibovitzs-MacBook-Air:~ rleibovitz$ boot2docker ssh 'sudo /etc/init.d/docker restart'
Need TLS certs for boot2docker,127.0.0.1,10.0.2.15,192.168.59.107
-------------------
Rleibovitzs-MacBook-Air:~ rleibovitz$ docker_reg_run
docker_images
An error occurred trying to connect: Get https://192.168.59.109:2376/v1.19/images/json: dial tcp 192.168.59.109:2376: i/o timeout
An error occurred trying to connect: Post https://192.168.59.109:2376/v1.19/images/create?fromImage=dfvr%2Fregistry%3A0.6.9: dial tcp 192.168.59.109:2376: i/o timeout
An error occurred trying to connect: Get https://192.168.59.109:2376/v1.19/containers/json?all=1: dial tcp 192.168.59.109:2376: i/o timeout
Starting local docker registry...
An error occurred trying to connect: Post https://192.168.59.109:2376/v1.19/containers/create?name=docker-reg: dial tcp 192.168.59.109:2376: i/o timeout
Rleibovitzs-MacBook-Air:~ rleibovitz$ docker_images
-bash: docker_images: command not found
Rleibovitzs-MacBook-Air:~ rleibovitz$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment