Fixed several docker errors

This commit is contained in:
2022-01-27 18:33:25 +01:00
parent f4e4b9b6aa
commit fae0f87436
2 changed files with 15 additions and 38 deletions

View File

@ -2,10 +2,12 @@ version: '3'
services:
docker4ssh:
build: .
build: https://raw.githubusercontent.com/ByteDream/docker4ssh/main/examples/Dockerfile
ports:
- "8642:8642"
- "2222:2222"
volumes:
- "./docker4ssh.log.log:/docker4ssh/docker4ssh.log"
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
restart: unless-stopped
container_name: docker4ssh