Skip to content

Commit

Permalink
Typos fixed and nvidia-docker build recipie for Ubuntu 16.04 added to…
Browse files Browse the repository at this point in the history
… in docker.rst. Dockerfile.ubuntu16.04.opensource RUN build ... command updated.
  • Loading branch information
brandon-northcutt committed Jun 30, 2017
1 parent db17771 commit 8e6e7fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion drake/doc/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The simplest run command is

::

$ docker -it drake bash
$ docker run -it drake bash

which will give you bash shell access to the Ubuntu 16.04 Docker container
where you can run commands such as:
Expand Down Expand Up @@ -138,6 +138,18 @@ The `nvidia-docker <https://github.com/NVIDIA/nvidia-docker/>`_ plugin is
required in order to pass Xorg drawing commands to your host system when the
proprietary Nvidia GPU drivers are installed.

Note: on Ubuntu 16.04 use the following nvidia-docker build recipe

::
git clone https://github.com/NVIDIA/nvidia-docker.git
cd nvidia-docker/
make
sudo PREFIX=/usr/local/bin make install
sudo nvidia-docker volume setup
nvidia-docker run --rm nvidia/cuda nvidia-smi

because the .deb package methods assume a much more recent Docker.


::

Expand Down
2 changes: 1 addition & 1 deletion setup/docker/Dockerfile.ubuntu16.04.opensource
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ RUN apt-get update && yes "Y" \
| /drake-distro/setup/ubuntu/16.04/install_prereqs.sh \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean all
RUN cd /drake-distro && bazel build ... && bazel test ...
RUN cd /drake-distro && bazel build //tools:drake_visualizer && bazel build //drake/examples/Acrobot:acrobot_run_passive
ENTRYPOINT ["/drake-distro/setup/docker/entrypoint.sh"]

0 comments on commit 8e6e7fd

Please sign in to comment.