drone-runner. Adding missing Docker socket mount.

This commit is contained in:
Alexey Skobkin 2022-03-29 16:31:55 +03:00
parent 9b3ccd284e
commit b1988747cd

View file

@ -6,7 +6,8 @@ services:
image: "drone/drone-runner-docker:${IMAGE_VERSION:-1}"
container_name: drone-runner
volumes:
- "${HOST_DATA_DIR:-./data}:/data"
# Mounting Docker socket inside the container to control temporary Docker containers from runner.
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
# Optional, used for dashboard:
# https://discourse.drone.io/t/drone-agent-port/5914/5