Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Docker
(edit)
Revision as of 14:17, 25 February 2020
130 bytes added
,
14:17, 25 February 2020
m
→Examples
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=
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version