Skip to content

Instantly share code, notes, and snippets.

@wsargent
Last active June 29, 2024 19:32
Show Gist options
  • Save wsargent/7049221 to your computer and use it in GitHub Desktop.
Save wsargent/7049221 to your computer and use it in GitHub Desktop.
Docker cheat sheet
@lhazlewood
Copy link

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

@JohnFiedler
Copy link

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
Copy link
Author

@JohnFiedler No, please do.

@alpacaaa
Copy link

Awesome thanks!

@cseeger
Copy link

cseeger commented Nov 20, 2013

ROCK ON!

@maxbeatty
Copy link

Thank you for putting this together!

@shykes
Copy link

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?

@shykes
Copy link

shykes commented Nov 22, 2013

@tlockney
Copy link

@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
Copy link

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

@vamshis
Copy link

vamshis commented Nov 29, 2013

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

@mindreframer
Copy link

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

@nacyot
Copy link

nacyot commented Jan 9, 2014

@wsargent Could I translate this gist in Korean?

@wsargent
Copy link
Author

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

Copy link

ghost commented Feb 10, 2014

nice! thanks! fantastic! i love you!

@labianchin
Copy link

Awesome! Very useful.

@sublimino
Copy link

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

@wsargent
Copy link
Author

@sublimino fixed, thx.

@nanoxd
Copy link

nanoxd commented May 24, 2014

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

@wsargent
Copy link
Author

@nanoxd fixed!

@saulshanabrook
Copy link

The dockerfile tutorial links are broken, 404 now.

@saulshanabrook
Copy link

@typehorror
Copy link

To retrieve the ip address

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

@wsargent
Copy link
Author

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

@wsargent
Copy link
Author

@Debrice udpated, thx.

@geshan
Copy link

geshan commented Jun 28, 2014

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

@aronr
Copy link

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
Copy link

psav commented Jul 24, 2014

Thanks for this! very helpful indeed!

@noelyahan
Copy link

Awesome thanks a lot !

@tatjana-predojev
Copy link

Thank you this is super useful!

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