User Tools

Site Tools


docker:containers:name_a_container

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docker:containers:name_a_container [2020/05/13 08:42] – created peterdocker:containers:name_a_container [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 32: Line 32:
 </code> </code>
  
-While the name appears in the output of **docker ps** and can be used to manage the container, it will not appear in the command prompt of the container if you attach to it or in log files.+<WRAP info> 
 +**NOTE:**  While the name appears in the output of **docker ps** and can be used to manage the container, it will not appear in the command prompt of the container if you attach to it or in log files.
  
 In order to accomplish that, you'll also need to assign a hostname. In order to accomplish that, you'll also need to assign a hostname.
 +
 +See [[Docker:Containers:Assign a hostname to the container|Assign a hostname to the container]].
 +</WRAP>
  
docker/containers/name_a_container.1589359326.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki