...
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 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
docker run -d -rm --p YYYY:8888 --name <container_name> <image_name> |
3 -
Info |
---|
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...