version: '2' services: cet: hostname: cet4 container_name: cet4 restart: always image: registry.cn-hangzhou.aliyuncs.com/sxtest/cet4:gpu privileged: true ipc: host tty: true working_dir: /workspace ports: - '18050:8080' - '22522:22' volumes: - ./:/workspace # deploy: # resources: # reservations: # devices: # - capabilities: [gpu]