Get startedGet started for free

Setting the user

You've finished the python code for the pipeline you were building and have gotten all the feedback you need from colleagues. To make your pipeline Docker image more foolproof, you want to set the user to repl before the project files are copied into the image. We've already added the RUN instruction to create a repl user for you.

This exercise is part of the course

Introduction to Docker

View Course

Exercise instructions

  • Using the terminal, open the Dockerfile in your current working directory and edit the third line to set the user to repl.

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise