I've got tired of trying to mount containers on my hAP ax2.
Hey, mikrotik developers, if you knew that it would be possible to mount containers on this device, was it a great deal to make a usb-port on it or add some more drive space? It costs almost nothing.
I installed ROSE and gave an access to my local SMB share.
Code: Select all
/disk
add type=smb smb-address=192.168.186.16 smb-share=RouterOS
I made an docker image with arm64 architecture on my laptop. Also I made a RAM folder on mikrotik and brought docker image there.
Mounts:
Code: Select all
/container/mounts/add name=etc_pihole src=smb-192-168-186-16-RouterOS/pihole/etc dst=/etc/pihole
/container/mounts/add name=dnsmasq_pihole src=smb-192-168-186-16-RouterOS/pihole/etc-dnsmasq.d dst=/etc/dnsmasq.d
Code: Select all
/container/add file=Ram350/pihole.tar interface=veth1 envlist=pihole_envs root-dir=smb-192-168-186-16-RouterOS/pihole/root mounts=dnsmasq_pihole,etc_pihole hostname=PiHole
Code: Select all
error: failed to extract
was unable to import, container c8e91f57-12bb-4b47-b993-c566c9345d24
PS: I see that it makes folder "bin" in "root" folder, bin has some files. Also it has file "container" in root folder. That's all.
PPS. I apologize for mistakes. I'm not a native english speaker.