Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.

How do you tag a docker image img1:latest using a tag v12?

Experience Level: Junior
Tags: DockerDocker CLI

Answer

Run the following command:

docker tag img1:latest img1:v12

Comments

No Comments Yet.
Be the first to tell us what you think.
Docker for beginners
Docker for beginners

Are you learning Docker ? Try our test we designed to help you progress faster.

Test yourself
Kubernetes Certified Application Developer (CKAD) preparation
Kubernetes Certified Application Developer (CKAD) preparation

Are you learning Docker ? Try our test we designed to help you progress faster.

Test yourself