Create docker.md
This commit is contained in:
parent
0a88b6c155
commit
8b3712e4b2
1 changed files with 10 additions and 0 deletions
10
cmd/docker.md
Normal file
10
cmd/docker.md
Normal 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
|
||||||
Loading…
Add table
Reference in a new issue