services: MyFakeSSH: build: . image: registry.cn-beijing.aliyuncs.com/licsber/myfakessh:latest container_name: myfakessh restart: unless-stopped command: /log volumes: - /z/docker/myfakessh:/log - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro ports: - "22:22"