Skip to content

Instantly share code, notes, and snippets.

@wsargent
Last active August 31, 2023 12:10
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
@wsargent
Copy link
Author

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

@nbyst
Copy link

nbyst 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