I'm trying to create an script to delete the current Container image and download a new one, but the command /container remove numbers=0 don't work (this proccess is after the command /container/stop number=0 and delay 15s).
Executing /container remove number=0 via MikroTik terminal, works without problem... I haved tryed only the command /container remove number=0 in script (to see if it will work only with this process) and no good, so the problem is with this command and now I'm thinking:
It's a problem with scripts on version 7.6?
It's because the image is in USB drive (but via terminal the process works...)?
User problem (it's admin), or it's because DNSMASQ_USER is seted with root user?
P.S: All process described here were made with Winbox and RouterOS version 7.6
Code: Select all
/container/stop number=0
/delay 15s
/container remove numbers=0
/delay 300s
/container/add remote-image=pihole/pihole:latest interface=Docker root-dir=disk1/pihole mounts=dnsmasq_pihole,etc_pihole envlist=pihole_envs
/delay 300s
/container/start number=0