Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Docker cheat sheet
@lhazlewood

Will, this is hugely beneficial. Thanks so much for writing/sharing this!

@JohnFiedler

Awesome work on this! We'll (RelateIQ) update the images soon to the public registry. Do you care if we add this to the readme to our repo with credit to you?

@wsargent
Owner

@JohnFiedler No, please do.

@alpacaaa

Awesome thanks!

@cseeger
cseeger commented Nov 20, 2013

ROCK ON!

@maxbeatty

Thank you for putting this together!

@shykes
shykes commented Nov 22, 2013

This is great. Thanks guys for this, I will print one out for myself :)

Would you be open to contributing some of this to the official Docker docs?

@tlockney

@wsargent I was about to ask why you removed the sections covering running a registry, Shipyard, tips, etc.... until I noticed they're all in the blog post. :~)

Both are excellent resources, btw. Thanks for sharing all this! It covered a few bits I still hadn't found time to poke at. Now I'm looking forward to your next post: "using Docker with the Typesafe Stack." :D

@lucapette

very nicely written. Thank you. It's that good that it should be part of the official doc

@vamshis
vamshis commented Nov 29, 2013

thanks. Its simple to understand. Cleared a lot of doubts :)

@mindreframer

thanks, that is one hell of cheat sheet! Rock on!

@nacyot
nacyot commented Jan 9, 2014

@wsargent Could I translate this gist in Korean?

@wsargent
Owner

You can translate it into Korean if you like, absolutely.

@nbyst
nbyst commented Feb 10, 2014

nice! thanks! fantastic! i love you!

@labianchin

Awesome! Very useful.

@sublimino

Docker docs URL structure has changed from http://docs.docker.io/en/latest/ to http://docs.docker.io/reference/

@wsargent
Owner

@sublimino fixed, thx.

@nanoxd
nanoxd commented May 24, 2014

brew tap phinze/homebrew-cask should now be brew tap caskroom/homebrew-cask

@wsargent
Owner

@NanoXD fixed!

@saulshanabrook

The dockerfile tutorial links are broken, 404 now.

@debrice
debrice commented Jun 20, 2014

To retrieve the ip address

docker inspect -f '{{ .NetworkSettings.IPAddress }}' <container_name>
@wsargent
Owner

@saulshanabrook I do wish that they would stop changing their URLs around without even a redirect...

@wsargent
Owner

@debrice udpated, thx.

@geshan
geshan commented Jun 28, 2014

how do I assign a static IP to a docker container??

@aronr
aronr commented Jul 19, 2014

@geshan One possible way to assign a static IP address to a Docker container, might be via @jpetazzo's pipework shell script.

See the example given by Lukas Pustina, under the subhead "Pipework – More Networks for your Containers" in Docker Networking Made Simple or 3 Ways to Connect LXC Containers.

@psav
psav commented Jul 24, 2014

Thanks for this! very helpful indeed!

@noelyahan

Awesome thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.