-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 'usingdocker' tutorial to name the container #1165
Conversation
Do some clean-up while I'm in there
|
||
This command consists of the following parts: | ||
|
||
* The `-d` flag runs the container in the background (as a so-called daemon). | ||
* The `--name my_webapp` flag names the container `my_webapp`. If you do not | ||
specify a name, Docker creates a random (and sometimes amusing) name for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 on sometimes amusing
, thank you :D
|
||
> **Note:** | ||
> You'll learn more about how to expose ports in Docker images when | ||
> [you learn how to build images](dockerimages.md). | ||
|
||
In this case Docker has exposed port 5000 (the default Python Flask | ||
port) on port 49155. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I felt this was kinda useful actually. What's your thinking in removing it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left it in, just moved it up a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one question. Thank you for tackling this!
Proposed changes
Update 'usingdocker' tutorial to name the container and do some basic clean-up on the topic's mark-up
Related issues (optional)
Fixes #990
Replaces #1163