ssh/docker-compose.yml

16 lines
241 B
YAML

version: "3"
services:
ssh-server:
image: ssh-server
privileged: true
build: .
ports:
- "2222:22"
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
- /run
- /run/lock
ports:
- "2222:22"