sudo docker commit -p <container_id> my_backup
Save Backup to file
sudo docker save -o ~/my-backup.tar my_backup
Ref
https://www.geeksforgeeks.org/backing-up-a-docker-container/
Last updated 1 year ago