docker run -v /local/directory:/docker/directory python:2.7.17-alpine python /docker/directory/local_script.py
Permet de lancer un script local via docker
-v localdir:dockerdir -- fait un mapping entre le répertoire local et le pod
docker image prune − clean up unused imagesPlus global :
docker system prune --volumes
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all volumes not used by at least one container
- all dangling images
- all build cache
Last modified: Mon Apr 13 17:27:05 2026