version: '2.1' networks: default: driver: bridge enable_ipv6: true ipam: driver: default config: - subnet: 2001:3984:3989::/64 volumes: hackthebox: services: playground: build: . image: fphammerle/hackthebox-playground volumes: - hackthebox:/hackthebox devices: - /dev/net/tun cap_add: - NET_ADMIN # https://github.com/dperson/openvpn-client/issues/75 sysctls: - net.ipv6.conf.all.disable_ipv6=0 # https://docs.docker.com/compose/compose-file/compose-file-v2/