Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 :: how to enable ssh on headless raspberry pi 
Shell :: gitignore 
Shell :: du linux 
Shell :: git push origin current branch 
Shell :: [from -y ] is not understood in combination with the other options 
Shell :: copy files from s3 to ec2 vice versa 
Shell :: linux change user shell /bin/false 
Shell :: Rename File Extension In folder 
Shell :: what does the export command do in linux 
Shell :: update inkscape to new version 
Shell :: get from match to end of file 
Shell :: install rust cargo 
Shell :: contain sql commands in dockerfile 
Shell :: grep wildcard 
Shell :: create git repo 
Shell :: SQLite browser in linux 
Shell :: git push default 
Shell :: how to create a username along with home directory in linux 
Shell :: odoo docker 
Shell :: restart terminal without closing 
Shell :: batch rename folder 
Shell :: install ubuntu gui on wsl 
Shell :: how to use git in terminal 
Shell :: correct git commit message 
Shell :: install minikube chocolatey 
Shell :: git move tag position 
Shell :: Composer and npm install the theme onto your computer. Install the theme into your local WordPress install. 
Shell :: reattach to screen 
Shell :: sed remove all line breaks 
Shell :: tree command levels 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =