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

add docker file instructions #37

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

OeslleLucena
Copy link

I created a docker image to run TAPAS and wrote down instructions about how to use it at the README.md file.

Copy link
Collaborator

@eisenjulian eisenjulian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for helping out with this!

README.md Outdated
To pull and run the docker image (contains all prerequisites) you can call the following command:

```
sudo docker run -it --gpus all -v /absolute/path/to/my/data/directory:/home/data oeslle/tapas:1.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we would prefer to include the Dockerfile directly in the repository instad of linking to an external source

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @eisenjulian I added the Dockerfile. However, due to issue #33 tensorflow-probability==0.10.1 must be in the requirements.txt file and tox.ini should have envlist = py36 only.

README.md Outdated
```
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there and official documentation for this steps, it would be better to link directly there and keep the comment in the readme short.

Added official documentation link for Nvidia-docker and Dockerfile instructions.
Added Dockerfile.
Copy link
Collaborator

@eisenjulian eisenjulian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am very sorry for the delay, but this looks great, thanks a lot for your contribution! Just for reference, can you share in a comment here an example of the logs you get in the console when you run the container?

Also, tox here will run as a prerequisite to build the image, is that correct? Do you know if that is standard?

&& pip install --upgrade setuptools \
&& pip install --upgrade six \
&& pip install scipy==1.4.1 \
&& pip install oauth2client==4.1.2 \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we get an error if we remove these two lines or just a warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants