Difference between revisions of "Docker commit"
Jump to navigation
Jump to search
↑ https://bobcares.com/blog/move-docker-container-to-another-host/
↑ https://www.baculasystems.com/blog/docker-backup-containers/
Line 20: | Line 20: | ||
== See also == | == See also == | ||
− | * {{ | + | * {{docker cmd}} |
[[Category:Docker]] | [[Category:Docker]] |
Revision as of 15:33, 22 February 2023
docker commit
create a new image from a container’s changes.
docker commit container-id your-image-name [1]
docker commit -p [container-id] backup01[2] docker save -o backup01.tar backup01
Activities
Related terms
docker save image-name > image-name.tar
docker save -o backup01.tar backup01
docker push
docker container commit
- Backup docker containers
See also
docker
[config | pull
|push
|run
|start
, |stop
|cp
|events
|info
|version
|build
|commit
|image
|images
|image ls
|image inspect
|rmi
|rm
|tag
|exec | rename | manifest | save | service update | load
],docker --help
Advertising: