add root_passwd

This commit is contained in:
2024-06-20 17:35:51 +08:00
parent 4572f2cb1c
commit 4e917ffc32

View File

@@ -17,6 +17,7 @@ services:
CUDA: cu117 CUDA: cu117
CUDA_ARCH_LIST: "80;86" # for RTX 4090, all : "80;86;89;90" CUDA_ARCH_LIST: "80;86" # for RTX 4090, all : "80;86;89;90"
SETUPTOOLS_VERSION: "69.5.1" SETUPTOOLS_VERSION: "69.5.1"
ROOT_PASSWD: "root"
volumes: volumes:
- ./src:/bbtft - ./src:/bbtft
container_name: ubuntu-finetune container_name: ubuntu-finetune
@@ -27,6 +28,7 @@ services:
shm_size: '32gb' shm_size: '32gb'
ports: ports:
- 3227:2222 - 3227:2222
command: ["/usr/sbin/sshd", "-D"]
environment: environment:
- NVIDIA_VISIBLE_DEVICES=all - NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility - NVIDIA_DRIVER_CAPABILITIES=compute,utility