Docker下载及安装:mac osx

Docker从入门到实战

问题: FATA[0000] Get http:///var/run/docker.sock/v1.16/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

方法一:

找到boot2docker应用程序启动

方法二:

$(/usr/local/bin/boot2docker shellinit)  

Alan:~ user03$ $(/usr/local/bin/boot2docker shellinit)

Writing /Users/user03/.boot2docker/certs/boot2docker-vm/ca.pem

Writing /Users/user03/.boot2docker/certs/boot2docker-vm/cert.pem

Writing /Users/user03/.boot2docker/certs/boot2docker-vm/key.pem

Alan:~ user03$ boot2docker ssh

                    ##        .

              ## ## ##       ==

           ## ## ## ##      ===

       /""""""""""""""""\___/ ===

  ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~

       \______ o          __/

         \    \        __/

          \____\______/

 _                 _   ____     _            _

| |__   ___   ___ | |_|___ \ __| | ___   ___| | _____ _ __

| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|

| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__|   <  __/ |

|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|

Boot2Docker version 1.4.1, build master : 86f7ec8 - Tue Dec 16 23:11:29 UTC 2014

Docker version 1.4.1, build 5bc2ff8

docker@boot2docker:~$ 

成功!!!

### io/timeout问题

boot2docker ssh ‘echo EXTRA_ARGS=\’’—insecure-registry dl.dockerpool.com:5000\” | sudo tee /var/lib/boot2docker/profile’



blog comments powered by Disqus

Published

2016-03-01

Categories


Tags