Skip to content

Instantly share code, notes, and snippets.

@tobami
Created July 23, 2014 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobami/ce23d93acadcb9b9abf2 to your computer and use it in GitHub Desktop.
Save tobami/ce23d93acadcb9b9abf2 to your computer and use it in GitHub Desktop.
Docker experiments
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
@tobami
Copy link
Author

tobami commented Jul 23, 2014

@tobami
Copy link
Author

tobami commented Jul 23, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment