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

Are ARG variables persisted into the built images in Docker?

Experience Level: Senior
Tags: Docker

Answer

ARG variables are not persisted into the built image as ENV variables are.

Comments

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

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

Test yourself