MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Introduction to Docker

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga