docker
pull files from inside container
docker cp <container_id>:/path/to/file /path/to/save
clean up old images
docker rmi -f $(docker images --filter "dangling=true" -q)
docker image prune
ref
- :1: https://stackoverflow.com/questions/44027873/how-to-create-a-new-docker-image-from-a-running-container-on-amazon
- :2: https://stackoverflow.com/questions/43699368/configure-docker-daemon-port-to-enable-docker-apis/43713435#43713435