Skip to content

Instantly share code, notes, and snippets.

@armstrongnate
Last active August 29, 2015 14:07
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 armstrongnate/4629582c917353531415 to your computer and use it in GitHub Desktop.
Save armstrongnate/4629582c917353531415 to your computer and use it in GitHub Desktop.

Bash inside of ubuntu image

docker run -it -v /Users:/Users ubuntu bash

On boot

boot2docker up

Start the server

fig up

Clean up

alias dclean='docker stop $(docker ps -a -q); docker rm $(docker ps -a -q | grep -v 1f46ddec1e3e); docker rmi $(docker images -q -f  dangling=true | grep -v e72ac664f4f0)

Run 3stepllc

docker run -v /Users/nate/code/3stepllc:/var/www/site -p 192.168.59.103:8080:80 -d 3stepllc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment