Docker MAC Service startup issues

Source: Internet
Author: User

After launching Docker today, I found that the package was wrong:

~ Docker Images

2014/12/11 17:11:06 Get http:///var/run/docker.sock/v1.15/images/json:dial unix/var/run/docker.sock:no such file or di Rectory


So see if boot2docker is not up:

   ~  boot2docker up  

Waiting for VMs and Docker daemon to start ...

..... oooo.

Started.

Writing/users/nilyang/.boot2docker/certs/boot2docker-vm/ca.pem

Writing/users/nilyang/.boot2docker/certs/boot2docker-vm/cert.pem

Writing/users/nilyang/.boot2docker/certs/boot2docker-vm/key.pem


To connect the Docker client to the Docker daemon, please set:

    Export docker_host= tcp://192.168.59.103:2376

    Export docker_cert_path=/users/nilyang/.boot2docker/certs/ BOOT2DOCKER-VM

    Export Docker_tls_verify=1

OK, it's up, don't worry, pay attention to export several environment variables

~ Export docker_host=tcp://192.168.59.103:2376

~ Export DOCKER_CERT_PATH=/USERS/NILYANG/.BOOT2DOCKER/CERTS/BOOT2DOCKER-VM

~ Export Docker_tls_verify=1



And then look at Docker status.

   ~  Docker Images

REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE

Ubuntu latest 86ce37374f40 2 weeks ago 192.7 MB

CentOS latest AE0C2D0BDC10 5 weeks ago 224 MB

Hello-world latest EF872312FE1B weeks ago 910 B

Training/sinatra latest f0f4ab557f95 6 months ago 447 MB

Training/postgres latest 258105bea10d 6 months ago 364.6 MB

Training/webapp latest 31fa814ba25a 6 months ago 278.8 MB



OK, now Docker is working.

Docker MAC Service startup issues

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.