Difference between revisions of "Docker exec"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
** <code>docker exec -it <my_container_name> sh</code>
 
** <code>docker exec -it <my_container_name> sh</code>
 
** <code>[[docker run]] -it --user USER_NAME CONTAINER_NAME</code>  
 
** <code>[[docker run]] -it --user USER_NAME CONTAINER_NAME</code>  
 +
 +
 +
docker exec -it CONTAINER_NAME sh
 +
unable to find user nginx: no matching entries in passwd file
  
 
== Related commands ==
 
== Related commands ==

Revision as of 12:50, 7 October 2020

Advertising: