14 lines
332 B
YAML
14 lines
332 B
YAML
services:
|
|
MyFakeSSH:
|
|
build: .
|
|
image: registry.cn-beijing.aliyuncs.com/licsber/myfakessh:latest
|
|
restart: always
|
|
container_name: myfakessh
|
|
command: /log
|
|
volumes:
|
|
- /licsber/docker/myfakessh:/log
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
ports:
|
|
- '22:22'
|