mirror of
https://github.com/zyclonite/zerotier-docker.git
synced 2024-12-04 05:23:44 +01:00
9a0c9cddc3
This is functionally identical to the docker run command in the readme.
14 lines
271 B
YAML
14 lines
271 B
YAML
version: '3'
|
|
services:
|
|
zerotier:
|
|
image: zyclonite/zerotier
|
|
container_name: zerotier-one
|
|
devices:
|
|
- /dev/net/tun
|
|
network_mode: host
|
|
volumes:
|
|
- '/var/lib/zerotier-one:/var/lib/zerotier-one'
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- SYS_ADMIN
|