diff --git a/Dockerfile b/Dockerfile index 7c6de11..5106c38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,6 +46,7 @@ apt-get clean && \ rm -rf /var/lib/apt/lists/* RUN pip install --upgrade pip setuptools + RUN packages='libsdl2-2.0 xserver-xorg libvulkan1' \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $packages --no-install-recommends \ && VULKAN_API_VERSION=`dpkg -s libvulkan1 | grep -oP 'Version: [0-9|\.]+' | grep -oP '[0-9|\.]+'` && \ @@ -111,7 +112,6 @@ wget https://developer.download.nvidia.com/compute/cuda/11.6.0/local_installers/cuda-repo-ubuntu1804-11-6-local_11.6.0-510.39.01-1_amd64.deb && \ dpkg -i cuda-repo-ubuntu1804-11-6-local_11.6.0-510.39.01-1_amd64.deb && \ apt-key add /var/cuda-repo-ubuntu1804-11-6-local/7fa2af80.pub - RUN apt-get update && \ apt-get install -y --no-install-recommends \ cuda-drivers && \ diff --git a/README.md b/README.md index ff0ec46..0ec03aa 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,14 @@ Docker上で動かす場合には、元のcuda-toolkitのバージョンを合わせる必要があるので注意。 下記のマシンでは、Cuda toolkitのバージョンは、リビジョンが違っても動作しないみたいなので、合わせる必要がある。 +Dockerfileでは、11.6のドライバーをインストールしている。 +nvidia-smiでバージョンを確認する。 +もし一致していないなら、 +cuda-toolkitを検索し、 +Linux->x86_64->Ubuntu->18.04->deb(local) +の手順に置換する。 -Dockerfileでは、11.3のドライバーをインストールしている。 + novnc経由で研究室内で使えるのは、