jigsawlabs-student / docker-intro

5 stars 2 forks source link

docker advanced build reading off #6

Open jigsawlabs-student opened 2 years ago

jigsawlabs-student commented 2 years ago

This is off

  1. Through a build argument

We can set an environment variable when we boot up a container with the -e flag.

So this time, we change the way we boot up the run command to the following:

docker run -it jek2141/jupyter-kaggle -e GRANT_SUDO=yes --user root sh