From 402ee8b7d7ddad3966a434b3cee9b73260ec4887 Mon Sep 17 00:00:00 2001 From: ARZ <60057481+AbdullahRizwan101@users.noreply.github.com> Date: Thu, 25 Mar 2021 01:41:12 +0500 Subject: [PATCH] Update Cheat Sheet.md --- Cheat Sheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cheat Sheet.md b/Cheat Sheet.md index 0c0eec9..cc7f155 100644 --- a/Cheat Sheet.md +++ b/Cheat Sheet.md @@ -485,6 +485,8 @@ To start a container from a remote machine
`docker -H :2375 exec -it /bin/sh`
To start a container from a remote machine using name and tags
`docker -H :2375 run -v /:/mnt --rm -it alpine:3.9 chroot /mnt sh`
+Break out of docker container +`docker -H tcp://:2375 run --rm -it -v /:/host chroot /host bash` # Miscellaneous ## Turning off xfce beeping sound