“Docker Push Image” Ответ

Docker Push Image

// from docker hub docks -- ha..ha

docker tag local-image:tagname new-repo:tagname
docker push new-repo:tagname
Smoggy Stag

Docker Push Image

## 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
Tiago F2

Push Imagesto Docker

docker tag local-image:tagname new-repo:tagname
docker push new-repo:tagname
khairi abidi

Ответы похожие на “Docker Push Image”

Вопросы похожие на “Docker Push Image”

Больше похожих ответов на “Docker Push Image” по Shell/Bash

Смотреть популярные ответы по языку

Смотреть другие языки программирования