Following the container instruction to run PiHole in a container result in error.
https://help.mikrotik.com/docs/display/ROS/Container
Connected is a ext4 formated SanDisk Ultra Fit 16GB
Code: Select all
/interface/bridge/add name=dockers
/ip/address/add address=192.168.136.1 interface=dockers
/interface/veth/add name=veth1 address=192.168.136.2/24 gateway=192.168.136.1
/interface/bridge/port/add bridge=dockers interface=veth1
/ip/firewall/nat/add chain=srcnat action=masquerade src-address=192.168.136.0/24
/container/envs/add name=pihole_envs key=TZ value=Europe/Berlin
/container/envs/add name=pihole_envs key=WEBPASSWORD value=password
/container/envs/add name=pihole_envs key=DNSMASQ_USER value=root
/container/mounts/add dst=/etc/pihole name=etc_pihole src=usb1-part1/etc
/container/mounts/add dst=/etc/dnsmasq.d name=dnsmasq_pihole src=usb1-part1/etc-dnsmasq.d
/container/config/set registry-url= https://registry-1.docker.io tmpdir=usb1-part1/pull
/container/add remote-image=pihole/pihole:latest interface=veth1 root-dir=usb1-part1/pihole mounts=dnsmasq_pihole,etc_pihole envlist=pihole_envs