Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker push image

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

docker tag local-image:tagname new-repo:tagname
docker push new-repo:tagname
Comment

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
Comment

push imagesto docker

docker tag local-image:tagname new-repo:tagname
docker push new-repo:tagname
Comment

docker push image

$ docker tag rhel-httpd registry-host:5000/myadmin/rhel-httpd

$ docker push registry-host:5000/myadmin/rhel-httpd
Comment

push imagesto docker

docker tag local-image:tagname new-repo:tagname
docker push new-repo:tagname
Comment

PREVIOUS NEXT
Code Example
Shell :: awk if 
Shell :: git log --oneline 
Shell :: git delete commit from history 
Shell :: sed delete line match 
Shell :: scp folder copy 
Shell :: how to install windows sdk 
Shell :: snapd teams 
Shell :: git config path 
Shell :: firebase realtime database delete all data 
Shell :: svg to png convert imagemagick 
Shell :: ubuntu restart systemctl 
Shell :: how to create a branch in git 
Shell :: display settings ubuntu 20.04 in right side 
Shell :: git merge branch into another branch 
Shell :: bash append to a file 
Shell :: linux extract txz 
Shell :: Gitlab docker runner registration 
Shell :: git clone password authentication failed 
Shell :: download docker linux 
Shell :: clear terminal mac 
Shell :: how to init vue 
Shell :: Current user cannot act as service account 881087019435-compute@developer.gserviceaccount.com 
Shell :: daily bing ubuntu 
Shell :: install ruby environment on ubuntu 20.04 
Shell :: unable to start test validator. check .anchor/test-ledger/test-ledger-log.txt for errors. 
Shell :: upgrade armbian 
Shell :: Using ffmpeg to split video files by size 
Shell :: adb kill server kali linux 
Shell :: shell if "-z" 
Shell :: dot is not recognized as an internal or external command 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =