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 :: git add all files 
Shell :: how to install certbot on ubuntu 
Shell :: dhcp release mac os 
Shell :: uninstall people app windows 10 
Shell :: intel hd 4000 ubuntu driver 
Shell :: new branch from existing branch 
Shell :: clear log file space linux 
Shell :: install windows without usb or dvd 
Shell :: how to install android studio in ubuntu 
Shell :: install vscodium 
Shell :: bash get field from line 
Shell :: react-darkmode-toggler 
Shell :: command to create a user in linux 
Shell :: brew check installed version 
Shell :: git ignore already pushed file 
Shell :: bash echo 
Shell :: make a desktop file in ubuntu 
Shell :: github pages is not free 
Shell :: mono-complete arch 
Shell :: git add new origin 
Shell :: command not found mvn 
Shell :: putty ubuntu 
Shell :: install git 
Shell :: how to install phpmyadmin with nginx on ubuntu 20.04 
Shell :: add group linux 
Shell :: throw exception powershell 
Shell :: git push local repo to remote 
Shell :: check openvpn working 
Shell :: what is kernel and shell 
Shell :: The following directories are not writable by your user: mac 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =