docker:assign_a_hostname_to_the_container
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
docker:assign_a_hostname_to_the_container [2020/04/15 18:33] – created 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.1586975625.txt.gz · Last modified: 2020/07/15 09:30 (external edit)