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
| brew update | |
| brew install docker | |
| brew install boot2docker | |
| boot2docker init | |
| boot2docker up |
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
| boot2docker ssh | |
| user: docker | |
| pass: tcuser |
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
| docker run -d -p 80 tutum/wordpress /run.sh |
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
| docker stop 9dc78f548c4d | |
| exit | |
| boot2docker save |
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
| docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 9dc78f548c4d tutum/wordpress:latest /run.sh 3 minutes ago Up 3 minutes 3306/tcp, 0.0.0.0:49154->80/tcp naughty_hypatia |
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
| docker inspect 9dc78f548c4d | |
| [{ | |
| "ID": "4131176604f460b8c346b60da84a62138228cd79c2150e55eca0fca197b376ec", | |
| "Created": "2014-04-15T14:54:42.69142738Z", | |
| "Path": "/run.sh", | |
| "Args": [], | |
| "Config": { | |
| "Hostname": "4131176604f4", | |
| "Domainname": "", |
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
| docker attach 9dc78f548c4d |
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
| boot2docker up | |
| boot2docker ssh | |
| user: docker | |
| pass: tcuser | |
| docker pull ubuntu | |
| docker run -t -i -p 3000 ubuntu /bin/bash |
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
| mkdir -p /home/docker/dev | |
| cd /home/docker/dev | |
| sudo apt-get install nodejs -y | |
| sudo apt-get install nodejs-legacy -y (fixes the problem with ubuntu using node to reference https://packages.debian.org/unstable/hamradio/ax25-node) | |
| sudo apt-get install npm -y | |
| npm install -g express-generator | |
| express test_app |
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
| docker@boot2docker:~$ docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 4045042195f9 ubuntu:14.04 /bin/bash 10 minutes ago Up 10 minutes 0.0.0.0:49159->3000/tcp tender_morse |