Docker Push Image
// from docker hub docks -- ha..ha
docker tag local-image:tagname new-repo:tagname
docker push new-repo:tagname
Smoggy Stag
// from docker hub docks -- ha..ha
docker tag local-image:tagname new-repo:tagname
docker push new-repo:tagname
## After build your image
## Get your build ID
docker images tiagofranca/php-81-fpm-dev
## You will get some like this:
REPOSITORY TAG IMAGE ID CREATED SIZE
tiagofranca/php-81-fpm-dev latest 9153e9fb37e3 4 minutes ago 571MB
## Now you can create a image TAG based on your image
docker tag 9153e9fb37e3 tiagofranca/php-81-fpm-dev:22-06-01
## DONE!
## Now you have 2 images
docker images tiagofranca/php-81-fpm-dev
REPOSITORY TAG IMAGE ID CREATED SIZE
tiagofranca/php-81-fpm-dev 22-06-01 9153e9fb37e3 4 minutes ago 571MB
tiagofranca/php-81-fpm-dev latest 9153e9fb37e3 4 minutes ago 571MB
## To push:
docker push tiagofranca/php-81-fpm-dev
# or
docker push tiagofranca/php-81-fpm-dev:22-06-01
docker tag local-image:tagname new-repo:tagname
docker push new-repo:tagname