Update docker
This commit is contained in:
parent
959d1b3c1d
commit
0d6a062f9e
18
docker.md
18
docker.md
@ -1,23 +1,15 @@
|
|||||||
|
|
||||||
|
|
||||||
docker build -t project/name .
|
- build: `docker build -t project/name .`
|
||||||
|
- Run interactif: `docker run -it project/name bash`
|
||||||
Run interactif:
|
- Connection to an running container: `docker exec -it project/name bash`
|
||||||
|
- remove untagged images: `docker rmi $(docker images -f "dangling=true" -q)`
|
||||||
docker run -it project/name bash
|
|
||||||
|
|
||||||
|
|
||||||
Connection to an running container:
|
|
||||||
|
|
||||||
docker exec -it project/name bash
|
|
||||||
|
|
||||||
|
|
||||||
Inspection de docker
|
Inspection de docker
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
Use dive
|
Use dive: `dive project/name (apt install dive)`
|
||||||
|
|
||||||
dive project/name (apt install dive)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user