ubuntu:docker:assign_a_hostname_to_the_container
Differences
This shows you the differences between two versions of the page.
ubuntu:docker:assign_a_hostname_to_the_container [2019/11/27 00:52] – created peter | ubuntu:docker:assign_a_hostname_to_the_container [2020/04/15 18:33] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - 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 **< | ||
ubuntu/docker/assign_a_hostname_to_the_container.1574815947.txt.gz · Last modified: 2020/07/15 09:30 (external edit)