Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker tag and push

# Using a single tag
docker image tag myimage:latest registry-host:5000/myname/myimage:latest
docker image push registry-host:5000/myname/myimage:latest

# Using multiple tags at once
docker image tag myimage registry-host:5000/myname/myimage:latest
docker image tag myimage registry-host:5000/myname/myimage:v1.0.1
docker image tag myimage registry-host:5000/myname/myimage:v1.0
docker image tag myimage registry-host:5000/myname/myimage:v1

docker image push --all-tags registry-host:5000/myname/myimage
Comment

PREVIOUS NEXT
Code Example
Shell :: npm init y 
Shell :: set sublime text as git editor 
Shell :: bash remove directory 
Shell :: adb shell proxy 
Shell :: execute powershell file windows 
Shell :: how to give permission to create files in directory linux 
Shell :: how to install mypy 
Shell :: svn log last 10 
Shell :: start hostednetwork 
Shell :: bash generate random number between 
Shell :: install bun sh 
Shell :: how to remove nvm 
Shell :: how to install chocolatey on windows 10 
Shell :: check all the ports in use mac 
Shell :: display record in postgresql 
Shell :: delete all local branches webstorm 
Shell :: store ls into array bash 
Shell :: how to install aplay in ubuntu 
Shell :: if else in mac terminal 
Shell :: npm i socket.io 
Shell :: how to kill vscode linux 
Shell :: sdkman install 
Shell :: docker-compose compose clear cache 
Shell :: venv activate 
Shell :: bash command to open terminal 
Shell :: npm ERR! path /usr/local/lib/nodejs/node-v10.15.3-linux-x64/lib/node_modules while installing angular cli 
Shell :: cache your login credentials in git command 
Shell :: cli check what is listening on port 
Shell :: boot repair linux 
Shell :: linux execute as user 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =