-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker_setup.sh
23 lines (16 loc) · 984 Bytes
/
docker_setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
git clone https://github.com/AllenInstitute/featureExtractionParty.git
docker build -t shtaaa/pss_extraction . --no-cache --pull
docker kill shtaaa_pss_extraction
docker rm shtaaa_pss_extraction
#xhost +si:localuser:$(whoami) >/dev/null
#docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi
#docker run --runtime=nvidia --shm-size=1g -e NVIDIA_VISIBLE_DEVICES=0 -d --name sharmi_pointnet_autoe \
nvidia-docker run -d --restart unless-stopped --name shtaaa_pss_extraction \
-v /allen/programs/celltypes/workgroups/em-connectomics/analysis_group/forSharmi/code/Dockertest_github:/usr/local/test \
-v /allen:/usr/local/allen \
-e DISPLAY \
--privileged \
-i -t shtaaa/pss_extraction \
/bin/bash -c "sudo initialize-graphics >/dev/null 2>/dev/null; vglrun glxspheres64; jupyter notebook --allow-root ;"
#/bin/bash -c "python popqueue.py ;"
#/bin/bash -c "sudo initialize-graphics >/dev/null 2>/dev/null; vglrun glxspheres64; jupyter notebook --allow-root ; python popqueue.py"