docker:assign_a_hostname_to_the_container
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker:assign_a_hostname_to_the_container [2017/02/22 16:26] – peter | docker:assign_a_hostname_to_the_container [2020/05/13 08:27] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Docker - Assign a hostname to the container ====== | ||
- | |||
- | The value supplied to the **--hostname** command is set inside **/ | ||
- | |||
- | <code bash> | ||
- | docker run --hostname=value | ||
- | </ | ||
- | |||
- | or | ||
- | |||
- | <code bash> | ||
- | docker run -h value | ||
- | </ | ||
- | |||
- | |||
- | While **< | ||
docker/assign_a_hostname_to_the_container.1487780771.txt.gz · Last modified: 2020/07/15 09:30 (external edit)