1 건의
docker-toolbox 검색결과
  1. 2015.09.16 꼬마군단

도커(Docker)를 미루다 미루다 시도 .


맥이라서    Docker-ToolBox( https://www.docker.com/toolbox ) 설치 후 테스트!!


간단하게   Official한 레일즈를 복사 시도!!


docker_user:docker $ docker pull rails
Using default tag: latest
Pulling repository docker.io/library/rails
Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/rails/images. You may want to check your internet connection or if you are behind a proxy.



 그런데 왜 Network TImeOut ...


  찾아보니 결국 Docker-Machine 이라는 것이 도커허브에 가지 못해서 생기는 현상...


간단하게 설명을 하면  



$ docker-machine ls

-> Docker machine List


$ docker-machine env [machine_name]

-> Docker machine environment info


$ docker-machine (start |  stop | restart ) [machine_name]

-> Docker machine start or stop or restart







docker_user:docker $ docker-machine ls
NAME      ACTIVE   DRIVER       STATE       URL                                  SWARM
default     *           virtualbox   Running    tcp://192.168.99.100:2376   

docker_user:docker $ docker-machine restart default
exit status 1
Restarted machines may have new IP addresses. You may need to re-run the `docker-machine env` command.

docker_user:docker $ eval "$(docker-machine env default)"
default is not running. Please start this with docker-machine start default
 
docker_user:docker $ docker-machine env default
default is not running. Please start this with docker-machine start default

docker_user:docker $ docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL   SWARM
default            virtualbox   Stopped        

##### IF Default Docker-Machine Stopped
docker_user:docker $ docker-machine start default
Starting VM...
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.

docker_user:docker $ docker-machine env default
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/DOCKER_PATHr/machine/machines/default"
export DOCKER_MACHINE_NAME="default"
# Run this command to configure your shell:
# eval "$(docker-machine env default)"

docker_user:docker $ eval "$(docker-machine env default)"

docker_user:docker $ docker pull rails
Using default tag: latest
 latest: Pulling from library/rails
843e2bded498: Pull complete
8c00acfb0175: Pull complete
...
.
.
.
..
 


위의 명령어 대로 해보니 성공!!!


그 다음은 나도 찾아봐야겠다.


TokenMarket ICO calendar