Community discussions

MikroTik App
 
manderlini
just joined
Topic Author
Posts: 11
Joined: Sat Feb 18, 2023 12:12 pm

[SOLVED] Container does not start on hap ax^3 (os 7.7)

Sun Feb 19, 2023 12:19 pm

Hi everyone, I'm trying to run a container on my hap ax^3 (os 7.7) without success.

I'm following the https://help.mikrotik.com/docs/display/ROS/Container, I attached a 32gb pen usb ext4 formatted and i succesfully downloaded the pihole image:
but when I try to start it nothing happen also no lines are written in the log so I don't understand what is going on.

Could someone help me ?
thanks

===================
/container/print
0 name="be849765-86b3-4a63-997c-c3e41e4bada4" tag="pihole/pihole:latest" os="" arch="" interface=veth1 envlist="pihole_envs" root-dir=/usb1-part1/pihole mounts=etc_pihole,dnsmasq_pihole dns="" logging=yes status=stopped

/container/start 0
Last edited by manderlini on Tue Feb 21, 2023 12:15 pm, edited 1 time in total.
 
User avatar
ghostinthenet
newbie
Posts: 31
Joined: Sun Apr 04, 2021 1:36 pm
Location: Niagara-on-the-Lake, Canada
Contact:

Re: Container does not start on hap ax^3 (os 7.7)

Sun Feb 19, 2023 6:09 pm

Following. I'm running into the exact same problem on my RB1100AHx4 with RouterOS 7.7. I'm going to switch up to RouterOS 7.8rc2 to see what happens and then drop to 7.6 in case that doesn't work.

Edit: Going back to the drawing board on this one. My container doesn't stay up on my RPi either, so it doesn't look like a RouterOS problem at this point. Note: Looks like the device naming has changed with RouterOS 7.8. All of the disk1 references changed to sata-part1.
 
marsbeetle
newbie
Posts: 38
Joined: Sun Feb 19, 2023 9:57 am

Re: Container does not start on hap ax^3 (os 7.7)

Sun Feb 19, 2023 7:02 pm

I think this has to do with a ROS 7.7 permission bug with container external mounts. As a test try removing your container mounts and see if it starts? I did this with an Adguard container on 7.7 and it started fine. It will not start when using mounts.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10186
Joined: Mon Jun 08, 2015 12:09 pm

Re: Container does not start on hap ax^3 (os 7.7)

Sun Feb 19, 2023 8:55 pm

In the newest versions you can set a custom name for each disk ("slot") and (if it works right) it will stick.
The old names like "disk1" were dynamically created in sequence of detection, which was unreliable, but the new "slot" names should remain the same once you have set them.
 
manderlini
just joined
Topic Author
Posts: 11
Joined: Sat Feb 18, 2023 12:12 pm

Re: Container does not start on hap ax^3 (os 7.7)

Tue Feb 21, 2023 12:14 pm

I think this has to do with a ROS 7.7 permission bug with container external mounts. As a test try removing your container mounts and see if it starts? I did this with an Adguard container on 7.7 and it started fine. It will not start when using mounts.
Sorry but I got time to try your suggestion just now and it worked.
Thanks again for your help.

Who is online

Users browsing this forum: No registered users and 3 guests