14 lines
334 B
YAML
14 lines
334 B
YAML
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"
|