Difference between revisions of "Docker exec"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
** <code>[[docker exec]]<ref>https://docs.docker.com/engine/reference/commandline/exec/</ref> -it <my_container_name> bash</code>
 
** <code>[[docker exec]]<ref>https://docs.docker.com/engine/reference/commandline/exec/</ref> -it <my_container_name> bash</code>
 
** <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>
  
 
== Related commands ==
 
== Related commands ==

Revision as of 09:15, 25 June 2020

Advertising: