add README for cuda

This commit is contained in:
leafee98 2023-05-11 22:33:58 +08:00
parent 1ac615878a
commit 1ac39cac41

24
cuda/README Normal file
View file

@ -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