Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Docker cheat sheet

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

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?

Owner

wsargent commented Nov 17, 2013

@JohnFiedler No, please do.

Awesome thanks!

cseeger commented Nov 20, 2013

ROCK ON!

Thank you for putting this together!

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?

@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

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

vamshis commented Nov 29, 2013

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

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

nacyot commented Jan 9, 2014

@wsargent Could I translate this gist in Korean?

Owner

wsargent commented Jan 11, 2014

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

nbyst commented Feb 10, 2014

nice! thanks! fantastic! i love you!

Awesome! Very useful.

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

Owner

wsargent commented May 22, 2014

@sublimino fixed, thx.

nanoxd commented May 24, 2014

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

Owner

wsargent commented May 25, 2014

@nanoxd fixed!

The dockerfile tutorial links are broken, 404 now.

debrice commented Jun 20, 2014

To retrieve the ip address

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

wsargent commented Jun 27, 2014

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

Owner

wsargent commented Jun 27, 2014

@debrice udpated, thx.

geshan commented Jun 28, 2014

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

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 commented Jul 24, 2014

Thanks for this! very helpful indeed!

Awesome thanks a lot !

Thank you this is super useful!

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