Skip to content

Instantly share code, notes, and snippets.

@elico
Created May 30, 2023 18:15
Show Gist options
  • Save elico/176d1c0a83a5e4f6c53fe11a20bd7b62 to your computer and use it in GitHub Desktop.
Save elico/176d1c0a83a5e4f6c53fe11a20bd7b62 to your computer and use it in GitHub Desktop.
/interface/veth/add address=172.21.0.201/24 gateway=172.21.0.254 name=veth201
/interface/bridge/port/add bridge=dockers interface=veth201
/container/envs/add name=adguard_envs key=TZ value="Asia/Jerusalem"
/container/config/set registry-url=https://registry-1.docker.io tmpdir=usb1-part1/pull
/container/mounts/add dst=/opt/adguardhome/conf name=adguardhome_conf src=usb1-part1/adguardhome/conf
/container/mounts/add dst=/opt/adguardhome/work name=adguardhome_work src=usb1-part1/adguardhome/work
/container/add remote-image=adguard/adguardhome:latest interface=veth201 logging=yes mounts=adguardhome_conf,adguardhome_work root-dir=usb1-part1/adguardhome/root envlist=adguard_envs start-on-boot=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment