Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nvictus/graal-docker
https://github.com/nvictus/graal-docker
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nvictus/graal-docker
- Owner: nvictus
- Created: 2017-08-16T18:41:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-17T02:36:14.000Z (about 7 years ago)
- Last Synced: 2024-10-03T12:17:47.615Z (about 1 month ago)
- Language: Python
- Size: 32.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# graal-docker
GRAAL in a container.
1. Install [nvidia-docker](https://github.com/NVIDIA/nvidia-docker)
2. Build the image
```bash
$ nvidia-docker build graal .
```3. Start a container and shell into it with mounted volumes and connected display (see `run.sh`)
```bash
$ DATADIR=$(pwd)/examples/
$ xhost +
$ nvidia-docker run \
--privileged \
--rm \
--volume /tmp/.X11-unix:/tmp/.X11-unix:ro \
--volume $DATADIR:/data \
--env DISPLAY=$DISPLAY \
--name graal-container \
-it graal /bin/bash \
```Omit the `--rm` if you do not want to run it ephemerally.