Create docker.md

This commit is contained in:
Sander Hautvast 2024-03-08 12:12:40 +01:00 committed by GitHub
parent 0a88b6c155
commit 8b3712e4b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

10
cmd/docker.md Normal file
View file

@ -0,0 +1,10 @@
### never forget
* docker inspect [image]
* docker history --no-capture [image]
* docker run -it [image] /bin/sh
* docker exec -it [image] /bin/sh
* -p [HOST-port]:[CONTAINER-port]
### DEBUG (rhel/centos)
* RUN yum install -y net-tools
* RUN yum install -y procps