From 1ac39cac4105fdc781a9a461184b61af48959827 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Thu, 11 May 2023 22:33:58 +0800 Subject: [PATCH] add README for cuda --- cuda/README | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 cuda/README diff --git a/cuda/README b/cuda/README new file mode 100644 index 0000000..e5aa77e --- /dev/null +++ b/cuda/README @@ -0,0 +1,24 @@ +Before you start this compose, you shoud do: + +1. Check the volumes to be mounted. +2. Ensure the nvidia-container-toolkit already installed, this + is the name on AUR for ArchLinux. +3. If you mount /root, make sure it's owned by root and with + 750 or less permission, this is required by sshd, or it will + not accept any authorized key. + +Then to build the image: + + podman-compose build + +Then first start: + + podman-compose up --detach + +To stop: + + podman stop mcuda + +To re-start: + + podman start mcuda