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 :: flutter cmdline-tools component is missing 
Shell :: add images in readme github file 
Shell :: git config --global http.sslverify "false" This command resolve my problem 
Shell :: reset resolv.conf 
Shell :: PowerShell command list software windows server 2016 
Shell :: pdf to images imagemagick 
Shell :: docker compose exec compose 
Shell :: how to push to heroku outside the master branch 
Shell :: how to check which shell 
Shell :: install ppt readr for arch linux 
Shell :: hwo to remove ssh key 
Shell :: dotnet test 
Shell :: copy file to ubuntu server 
Shell :: brew check installed packages version 
Shell :: platformio install arduino lib 
Shell :: bcryptjs 
Shell :: linux unpack zip 
Shell :: flutter markdown 
Shell :: destroy linux with one command 
Shell :: linux install icloud 
Shell :: how to rename a file in terminal 
Shell :: redis reload config 
Shell :: add user centos 7 sudo 
Shell :: pip install kivy 
Shell :: mac terminal curl 
Shell :: ansible run multiple shell commands 
Shell :: clone github repository mac terminal 
Shell :: npx gitignore generator 
Shell :: scp from local to remote 
Shell :: linux change file owner 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =