Are Docker instructions case sensitive?
Experience Level: Senior
Tags: Docker
Answer
No. They are case insensitive. However, convention is for them to be UPPERCASE to distinguish them from arguments more easily.
Related Docker job interview questions
How many times can the FROM instruction appear within a Dockerfile?
Docker SeniorWhat is the FROM instruction good for in Docker?
Docker SeniorHow can you add comments to your Dockerfile?
Docker SeniorHow do you write a list of all running Docker containers to a file file.txt?
DockerDocker CLI JuniorHow do you run a docker image app1 in detached mode and name the container mycontainer1?
DockerDocker CLI Junior