Skip to content

AntonP84/myDockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML with Python

Building

# GPU
make build-gpu
make test-gpu

# CPU
make build-cpu

Running

# GPU
docker container run -d --rm \
    -e JUPYTER_TOKEN=my_token \
    -p 8888:8888 \
    --mount type=bind,source=$(realpath ~),target=/data \
    --mount type=bind,source=/mnt/sda,target=/hdd \
    --mount type=bind,source=$(realpath ~),target=/notebooks \
    --gpus all \
    --name pyml-gpu --userns=host \
    pyml-gpu:21.08

# CPU
docker container run -d --rm \
    -e JUPYTER_TOKEN=my_token \
    -p 8888:8888 \
    --mount type=bind,source=$(realpath ~),target=/data \
    --mount type=bind,source=/mnt/sda,target=/hdd \
    --mount type=bind,source=$(realpath ~),target=/notebooks \
    --name pyml \
    pyml:21.08

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published