Get startedGet started for free

WORKDIR and USER

Most Dockerfile instructions affect the file system. However, the WORKDIR and USER change the behavior of subsequent Dockerfile instructions. Let's see if you have a grasp on how these new instructions change the behavior of other instructions.

This exercise is part of the course

Introduction to Docker

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise