Created
July 23, 2014 15:27
-
-
Save tobami/ce23d93acadcb9b9abf2 to your computer and use it in GitHub Desktop.
Docker experiments
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 pull debian(:wheezy) | |
docker run -i -t debian:wheezy /bin/bash | |
-- | |
install | |
-- | |
docker commit <container_id> <some_name> | |
-- | |
docker run -i -t -p 127.0.0.1:3306:3306 -d wheezy-mysql:butler2 "/usr/bin/mysqld_safe" | |
docker run -i -t -p 8000:8000 -v ~/code/butler:/root/butler -d wheezy-mysql:butler3 | |
-- | |
build so that: | |
docker run -i -t -d wheezy-mysql:butler3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To "build" an image with running service:
https://github.com/tutumcloud/tutum-docker-mysql
http://txt.fliglio.com/2013/11/creating-a-mysql-docker-container/