Update docker

This commit is contained in:
Alban Bronisz 2024-02-27 09:32:04 +01:00
parent 959d1b3c1d
commit 0d6a062f9e
1 changed files with 5 additions and 13 deletions

View File

@ -1,23 +1,15 @@
docker build -t project/name .
Run interactif:
docker run -it project/name bash
Connection to an running container:
docker exec -it project/name bash
- build: `docker build -t project/name .`
- Run interactif: `docker run -it project/name bash`
- Connection to an running container: `docker exec -it project/name bash`
- remove untagged images: `docker rmi $(docker images -f "dangling=true" -q)`
Inspection de docker
--------------------
Use dive
dive project/name (apt install dive)
Use dive: `dive project/name (apt install dive)`