Difference between revisions of "Docker tag"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user 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/
  
[[docker image ls]]
+
* <code>[[docker image ls]]</code>
  
  
Line 8: Line 8:
 
   [[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]]
 +
  
  
docker tag yourimage:latest 1234567890.dkr.ecr.eu-west-1.amazonaws.com/yourimage:latest
 
  
 
== Related terms ==
 
== Related terms ==
Line 21: Line 34:
 
* <code>[[aws ecr put-image --image-tag]]</code>
 
* <code>[[aws ecr put-image --image-tag]]</code>
 
* <code>[[crane tag]]</code>
 
* <code>[[crane tag]]</code>
 +
* [[IMAGE ID]]
  
 
== See also ==
 
== See also ==
 
* {{docker tag}}
 
* {{docker tag}}
 +
* {{docker push}}
 
* {{docker build}}
 
* {{docker build}}
  
 
[[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: