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 create image and push

## 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 :: github new repository 
Shell :: create github pages from repo 
Shell :: add project to github 
Shell :: install intellij 
Shell :: how to move folders in linux terminal 
Shell :: dockerfile env 
Shell :: linux file full permission 
Shell :: how to install tar.xz files on ubuntu 
Shell :: git modify repository remote url 
Shell :: install fm migrate 
Shell :: wps office has not found any installed printers 
Shell :: Chaotic-AUR Team <team@chaotic.cx 
Shell :: c# check if word is installed 
Shell :: Vim deleting all lines containing pattern 
Shell :: add kdiff3 to git 
Shell :: 7z extract to folder with same name linux 
Shell :: chocolatey cmd 
Shell :: npm install assemble script 
Shell :: ubuntu open file system from terminal 
Shell :: loading hard disk driver in rhel 8 
Shell :: conda install sentencepiece 
Shell :: turnoff swap 
Shell :: run command on terminal startup 
Shell :: docker list images and remove them 
Shell :: windows check line ending of file 
Shell :: laravel nginx 404 not found 
Shell :: bash for tuple 
Shell :: wc command 
Shell :: disbale knopwob dunst 
Shell :: grep second match 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =