Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docker] add support for docker #84

Merged
merged 16 commits into from
Sep 10, 2018
Merged

[docker] add support for docker #84

merged 16 commits into from
Sep 10, 2018

Conversation

simogasp
Copy link
Member

Support for docker.

It is based on nvidia/cuda image (https://hub.docker.com/r/nvidia/cuda/)

A parameter CUDA_TAG can be passed when building the image to select the ubuntu and cuda version.
For example to create a ubuntu 16.04 with cuda 8.0 for development, use

docker build --build-arg CUDA_TAG=8.0-devel --tag cctag .

In order to run the image nvidia docker is needed https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)

docker run -it --runtime=nvidia cctag

@fabiencastan
Copy link
Member

Is it still WIP?

@simogasp simogasp changed the title WIP [docker] add support for docker [docker] add support for docker Sep 10, 2018
@fabiencastan
Copy link
Member

Need to update readme link to INSTALL.md

@simogasp
Copy link
Member Author

can be reviewed

@fabiencastan fabiencastan merged commit c466264 into develop Sep 10, 2018
@fabiencastan fabiencastan deleted the devDocker branch September 10, 2018 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants