forked from extern/zerotier-docker
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
|