Difference between revisions of "Docker exec"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
  docker exec -it CONTAINER_NAME sh
 
  docker exec -it CONTAINER_NAME sh
 
  unable to find user nginx: no matching entries in passwd file
 
  unable to find user nginx: no matching entries in passwd file
 +
 +
docker exec -u 0 -it CONTAINER_NAME  bash
  
 
== Related commands ==
 
== Related commands ==

Revision as of 12:58, 7 October 2020

Advertising: