mirror of
https://github.com/aladdinpersson/Machine-Learning-Collection.git
synced 2026-02-22 03:37:57 +00:00
updated readme for docker
This commit is contained in:
16
docker_instructions.txt
Normal file
16
docker_instructions.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
Run to use docker for development:
|
||||
docker build -t aladdin-image .
|
||||
|
||||
docker run -it \
|
||||
--gpus all \
|
||||
-v "${PWD}:/code" \
|
||||
-p 8080:8080 \
|
||||
--name "aladdin-container" \
|
||||
--env AUTHENTICATE_VIA_JUPYTER="mytoken" \
|
||||
aladdin-image
|
||||
|
||||
# For installing docker:
|
||||
https://docs.docker.com/engine/install/
|
||||
|
||||
For also being able to run with CUDA please install Nvidia Container Toolkit:
|
||||
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
|
||||
Reference in New Issue
Block a user