Created
October 30, 2014 17:41
-
-
Save natea/1147525eb56e32b3ff17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nateaune at natembp in ~ | |
$ boot2docker up | |
Waiting for VM and Docker daemon to start... | |
.o | |
Started. | |
Writing /Users/nateaune/.boot2docker/certs/boot2docker-vm/ca.pem | |
Writing /Users/nateaune/.boot2docker/certs/boot2docker-vm/cert.pem | |
Writing /Users/nateaune/.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/nateaune/.boot2docker/certs/boot2docker-vm | |
export DOCKER_TLS_VERIFY=1 | |
nateaune at natembp in ~ | |
$ export DOCKER_HOST=tcp://192.168.59.103:2376 | |
export DOCKER_CERT_PATH=/Users/nateaune/.boot2docker/certs/boot2docker-vm | |
nateaune at natembp in ~ | |
$ export DOCKER_CERT_PATH=/Users/nateaune/.boot2docker/certs/boot2docker-vm | |
nateaune at natembp in ~ | |
$ export DOCKER_TLS_VERIFY=1 | |
nateaune at natembp in ~ | |
$ docker pull phusion/baseimage | |
Pulling repository phusion/baseimage | |
cf39b476aeec: Download complete | |
511136ea3c5a: Download complete | |
b18d0a2076a1: Download complete | |
67b66f26d423: Download complete | |
25c4824a5268: Download complete | |
8b1c48305638: Download complete | |
c900195dcbf3: Download complete | |
6b4e8a7373fe: Download complete | |
c27763e1f3e5: Download complete | |
9d9561782335: Download complete | |
bad562ead0dc: Download complete | |
d5199f68b2fe: Download complete | |
64463062ff22: Download complete | |
Status: Downloaded newer image for phusion/baseimage:latest | |
nateaune at natembp in ~ | |
$ git clone https://github.com/appsembler/configuration.git -b docker_release ~/Dropbox/code/appsemblerx-configuration | |
Cloning into '/Users/nateaune/Dropbox/code/appsemblerx-configuration'... | |
remote: Counting objects: 31825, done. | |
remote: Compressing objects: 100% (12682/12682), done. | |
remote: Total 31825 (delta 16095), reused 31686 (delta 15981) | |
Receiving objects: 100% (31825/31825), 5.98 MiB | 3.42 MiB/s, done. | |
Resolving deltas: 100% (16095/16095), done. | |
Checking connectivity... done | |
nateaune at natembp in ~ | |
$ cd ~/Dropbox/code/appsemblerx-configuration | |
nateaune at natembp in ~/Dropbox/code/appsemblerx-configuration (docker_release) | |
$ docker run -i -t -d -v ~/Dropbox/code/appsemblerx-configuration:/configuration phusion/baseimage /sbin/my_init --enable-insecure-key | |
9cb2f82d2a990a5d98444e3de7e924ebc4861a6f5d162edcdcf62c9fe8f1a2c0 | |
nateaune at natembp in ~/Dropbox/code/appsemblerx-configuration (docker_release) | |
$ docker ps | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
9cb2f82d2a99 phusion/baseimage:0.9.15 "/sbin/my_init --ena 52 minutes ago Up 9 seconds insane_franklin | |
nateaune at natembp in ~/Dropbox/code/appsemblerx-configuration (docker_release) | |
$ docker inspect -f "{{ .NetworkSettings.IPAddress }}" 9cb2f82d2a99 | |
172.17.0.2 | |
nateaune at natembp in ~/Dropbox/code/appsemblerx-configuration (docker_release) | |
$ curl -o insecure_key -fSL https://github.com/phusion/baseimage-docker/raw/master/image/insecure_key | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 150 0 150 0 0 85 0 --:--:-- 0:00:01 --:--:-- 85 | |
100 1679 100 1679 0 0 844 0 0:00:01 0:00:01 --:--:-- 844 | |
nateaune at natembp in ~/Dropbox/code/appsemblerx-configuration (docker_release●) | |
$ chmod 600 insecure_key | |
nateaune at natembp in ~/Dropbox/code/appsemblerx-configuration (docker_release●) | |
$ ssh -i insecure_key [email protected] | |
ssh: connect to host 172.17.0.2 port 22: Network is unreachable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment