Difference between revisions of "Docker commit"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == See also == * {{Docker}}")
Tags: Mobile web edit, Mobile edit
 
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lc}}
 +
<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-new-image-name <ref>https://bobcares.com/blog/move-docker-container-to-another-host/</ref>
  
 +
docker commit -p [container-id] backup01<ref>https://www.baculasystems.com/blog/docker-backup-containers/</ref>
 +
[[docker save -o]] backup01.tar backup01
 +
 +
== Activities ==
 +
* Read https://www.crybit.com/how-to-update-a-docker-image-with-new-changes/
 +
 +
 +
== Related terms ==
 +
* <code>[[docker save]] image-name > image-name.tar</code>
 +
* <code>docker save -o backup01.tar backup01</code>
 +
* <code>[[docker push]]</code>
 +
* <code>[[docker container commit]]</code>
 +
* [[Backup docker containers]]
 +
* <code>[[docker cp]]</code>
  
 
== See also ==
 
== See also ==
* {{Docker}}
+
* {{docker cmd}}
 +
 
 +
[[Category:Docker]]

Latest revision as of 13:58, 31 January 2024

Advertising: