Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add image to docker hub

docker tag <name-of-image>:<tag> <hub-user>/<repo-name>:<tag>
docker push <hub-user>/<repo-name>:<tag>
Comment

push docker image to docker hub

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

pushing image to docker hub

docker push yourhubusername/verse_gapminder
Comment

push image to docker hub

$ docker push <hub-user>/<repo-name>:<tag>
Comment

PREVIOUS NEXT
Code Example
Shell :: xampp apachae not starting 
Shell :: odoo docker 
Shell :: Git command to Change Your Committer Name & Email Globally 
Shell :: download chrome on ubuntu 20.04 unsupported file 
Shell :: ps linux 
Shell :: Composer install with dockerfile 
Shell :: gitignore generator 
Shell :: convert capital letters to lowercase in shell script 
Shell :: List bluetooth devices 
Shell :: How do I rename a local Git branch? 
Shell :: github accout change on vsc 
Shell :: git create new branch with uncommitted changes 
Shell :: how to create a folder in linux 
Shell :: ansible inventory root password 
Shell :: create git repository 
Shell :: debian buster enable rc.local 
Shell :: aircrack-ng install command 
Shell :: git merge a branch to master/main 
Shell :: sed print from match to end of file 
Shell :: copy file to remote server 
Shell :: bash tar list of files from folder 
Shell :: Flutter plugin not installed; this adds Flutter specific functionality 
Shell :: install stylelint 
Shell :: grep 10 line before 
Shell :: generate keystore file for android 
Shell :: latex number listing as equation 
Shell :: merge master into feauture branch 
Shell :: source bash_profile on startup mac 
Shell :: delete a folder then git push 
Shell :: How do I check out a remote Git branch? 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =