Difference between revisions of "Docker tag"
Jump to navigation
Jump to search
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | <code>docker tag</code> https://docs.docker.com/engine/reference/commandline/tag/ | |
− | + | * <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]] | ||
+ | |||
− | |||
== Related terms == | == Related terms == | ||
Line 19: | Line 32: | ||
* <code>[[aws ecr put-image --image-tag]]</code> | * <code>[[aws ecr put-image --image-tag]]</code> | ||
* [[Tag]] | * [[Tag]] | ||
− | * [[aws ecr put-image --image-tag]] | + | * <code>[[aws ecr put-image --image-tag]]</code> |
− | * [[crane tag]] | + | * <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]
docker build -t, docker build --tag
docker rename
docker search
docker push
,docker pull
aws ecr put-image --image-tag
- Tag
aws ecr put-image --image-tag
crane tag
- IMAGE ID
See also[edit]
Advertising: