Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you get an error message complaining about access rights, it means that you are not part of the docker group on the machine. Ask your supervisor to relay a request to one of the engineers at IDI, who should be able to grant you the necessary privileges.

 

2 - The Dockerfile - building an image

...

It prints a list of all the available images on the current machine. You should find your newly created one at the top.

 

3 - Running the container

Once the image is successfully built we can run a container from it. The docker run command contains many different options that you might want to explore through the official reference. However, to keep things simple, here’s a command for running a container capable of providing a jupyter notebook that can be accessed from the outside:

 

 

 

Code Block
languagebash
themeMidnight
titleRun container
collapsetrue
 docker run -d -rm --p YYYY:8888 --name <container_name> <image_name>

 

 

3 - 



 

 

Info

Content by Label
showLabelsfalse
max5
spacesailab
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "docker" and type = "page" and space = "ailab"
labelsDocker

...