Difference between revisions of "Docker tag"

From wikieduonline
Jump to navigation Jump to search
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
* https://docs.docker.com/engine/reference/commandline/tag/
+
<code>docker tag</code> https://docs.docker.com/engine/reference/commandline/tag/
 +
 
 +
* <code>[[docker image ls]]</code>
 +
 
  
 
   docker tag 4e7b151512dd my_test_image:1.0
 
   docker tag 4e7b151512dd my_test_image:1.0
 
   [[docker images]]
 
   [[docker images]]
 
   [[docker run]] my_test_image:1.0
 
   [[docker run]] my_test_image:1.0
 +
 +
docker tag yourimage:latest 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage:latest
 +
 +
 +
docker tag [[345435345]] 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage:latest
 +
 +
 +
docker tag [[345435345]] 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage
 +
(no output)
 +
[[docker push]] 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage
 +
 +
 +
[[docker image ls]]
 +
 +
 +
  
 
== Related terms ==
 
== Related terms ==
* <code>[[docker build -t]]</code>
+
* <code>[[docker build -t]], [[docker build --tag]]</code>
 
* <code>[[docker rename]]</code>
 
* <code>[[docker rename]]</code>
 
* <code>[[docker search]]</code>
 
* <code>[[docker search]]</code>
 +
* <code>[[docker push]]</code>, <code>[[docker pull]]</code>
 +
* <code>[[aws ecr put-image --image-tag]]</code>
 +
* [[Tag]]
 +
* <code>[[aws ecr put-image --image-tag]]</code>
 +
* <code>[[crane tag]]</code>
 +
* [[IMAGE ID]]
  
 
== See also ==
 
== See also ==
 +
* {{docker tag}}
 +
* {{docker push}}
 
* {{docker build}}
 
* {{docker build}}
* {{docker cmd}}
 
 
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 20:17, 22 February 2024

docker tag https://docs.docker.com/engine/reference/commandline/tag/


 docker tag 4e7b151512dd my_test_image:1.0
 docker images
 docker run my_test_image:1.0
docker tag yourimage:latest 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage:latest


docker tag 345435345 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage:latest


docker tag 345435345 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage
(no output)
docker push 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage


docker image ls



Related terms[edit]

See also[edit]

Advertising: