apuntes:docker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apuntes:docker [2025/03/24 09:38] – [Construir e iniciar un proyecto con docker compose] Santiago Faci | apuntes:docker [2026/03/28 12:46] (current) – [Eliminar una image docker] Santiago Faci | ||
|---|---|---|---|
| Line 299: | Line 299: | ||
| map[80/ | map[80/ | ||
| </ | </ | ||
| + | |||
| + | ==== Mostrar todas las imágenes docker ==== | ||
| + | |||
| + | Lista todas las imaǵenes docker descargadas localmente en tu equipo: | ||
| + | |||
| + | <code bash> | ||
| + | santi@zenbook: | ||
| + | IMAGE | ||
| + | app: | ||
| + | backend: | ||
| + | cities-be: | ||
| + | . . . | ||
| + | . . . | ||
| + | </ | ||
| + | |||
| + | ==== Eliminar una imagen docker ==== | ||
| + | |||
| + | <code bash> | ||
| + | santi@zenbook: | ||
| + | Untagged: alertdogapi_backend-api: | ||
| + | Deleted: sha256: | ||
| + | </ | ||
| + | |||
| + | ==== Eliminar todas las imágenes docker ==== | ||
| + | |||
| + | <code bash> | ||
| + | santi@zenbook: | ||
| + | Untagged: traefik: | ||
| + | Untagged: traefik@sha256: | ||
| + | Deleted: sha256: | ||
| + | Deleted: sha256: | ||
| + | Deleted: sha256: | ||
| + | Deleted: sha256: | ||
| + | Untagged: traefik: | ||
| + | Untagged: traefik@sha256: | ||
| + | Deleted: sha256: | ||
| + | Deleted: sha256: | ||
| + | Deleted: sha256: | ||
| + | . . . | ||
| + | . . . | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Eliminar todos los contenedores que no estén en marcha, imágenes docker sin contenedor asociado y vaciar la caché ==== | ||
| + | |||
| + | <code bash> | ||
| + | santi@zenbook: | ||
| + | WARNING! This will remove: | ||
| + | - all stopped containers | ||
| + | - all networks not used by at least one container | ||
| + | - all images without at least one container associated to them | ||
| + | - all build cache | ||
| + | |||
| + | Are you sure you want to continue? [y/N] y | ||
| + | . . . | ||
| + | . . . | ||
| + | </ | ||
| + | |||
| ===== Docker Compose ===== | ===== Docker Compose ===== | ||
apuntes/docker.1742809137.txt.gz · Last modified: 2025/03/24 09:38 by Santiago Faci
