Last active
November 2, 2017 07:49
-
-
Save poldeuce-sys/b19d7a196c70d82d8fa7b62cec356426 to your computer and use it in GitHub Desktop.
Some useful things with docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When building a container and having some issues, you can always launch interactively with | |
(--rm removes the container when you are done so that you can remove the image if you need to rebuild): | |
docker run --rm -it --entrypoint=/bin/bash <my-container> | |
Remember that the default 'bridge' network does not allow hostname resolution. To resolve host names, you need to | |
create a user network and ensure the containers attatch to that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment