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 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
− | + | <code>[[docker commit]]</code> create a new image from a [[container]]’s changes. | |
+ | * https://docs.docker.com/engine/reference/commandline/commit/ | ||
[[docker commit]] container-id your-image-name <ref>https://bobcares.com/blog/move-docker-container-to-another-host/</ref> | [[docker commit]] container-id your-image-name <ref>https://bobcares.com/blog/move-docker-container-to-another-host/</ref> |
Revision as of 07:39, 8 October 2020
This article is a Draft. Help us to complete it.
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]
Activities
Related terms
docker save image-name > image-name.tar
See also
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: