Skip to content

Commit

Permalink
Don't use due to anaconda/docker-images#86
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed Jun 8, 2018
1 parent 99606f0 commit 257a7b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker-run.sh → docker-run-su.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!/usr/bin/env bash
nvidia-docker run \
--volume /etc/passwd:/etc/passwd:ro \
--user "$(id -u)" \
--volume "$HOME:$HOME" \
--volume "$PWD:/mnt/project-root" \
--workdir /mnt/project-root \
--tty --interactive \
--init \
popatry/anaconda-cuda:python3-anaconda5.1.0-cuda9.0-cudnn7-runtime-ubuntu16.04 \
"$@"
popatry/anaconda-cuda:python3-miniconda-cuda9.0-cudnn7-runtime-ubuntu16.04-anaconda-project \
su "$(whoami)"

0 comments on commit 257a7b0

Please sign in to comment.