Update Cheat Sheet.md

This commit is contained in:
ARZ 2021-03-25 01:41:12 +05:00 committed by GitHub
parent ed4c79b032
commit 402ee8b7d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -485,6 +485,8 @@ To start a container from a remote machine <br/>
`docker -H <ip>:2375 exec -it <container-id> /bin/sh`<br/> `docker -H <ip>:2375 exec -it <container-id> /bin/sh`<br/>
To start a container from a remote machine using name and tags<br/> To start a container from a remote machine using name and tags<br/>
`docker -H <ip>:2375 run -v /:/mnt --rm -it alpine:3.9 chroot /mnt sh`<br/> `docker -H <ip>:2375 run -v /:/mnt --rm -it alpine:3.9 chroot /mnt sh`<br/>
Break out of docker container
`docker -H tcp://<ip>:2375 run --rm -it -v /:/host <container_name> chroot /host bash`
# Miscellaneous # Miscellaneous
## Turning off xfce beeping sound ## Turning off xfce beeping sound