This file contains 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
Offices.insert({name: names[i], rows: [ | |
{number: 1, desks: [ | |
{occupant: 'Person 1'}, | |
{occupant: 'Person 2'} | |
]} | |
]}); |
This file contains 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
time docker run tutum/wordpress echo 'hello world' |
This file contains 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 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 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 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 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 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 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 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 |
OlderNewer