Changes

Jump to navigation Jump to search
130 bytes added ,  14:17, 25 February 2020
m
Line 46: Line 46:  
#  Remove incompletely built images:
 
#  Remove incompletely built images:
 
docker images | grep -v IMAGE\ ID | awk '{print "docker rmi " $3;}'</source>
 
docker images | grep -v IMAGE\ ID | awk '{print "docker rmi " $3;}'</source>
 +
 +
== Docker container root shell ==
 +
<syntaxhighlight lang="bash">
 +
docker exec -u 0 -it cranky_neumann /bin/bash
 +
</syntaxhighlight>
    
=Restart stopped container with diferent command=
 
=Restart stopped container with diferent command=

Navigation menu