I have currently dozen of containers running on RB5009. Documentation seems to be missing some maintenance information such as:
1. Is the container stateless or stateful? upon restarting the container, its configurations and packages seem to persist. This does not look very much as docker, it works more like LXC. This is not clear from the documentation.
2. what is the purpose of container reset function? is is not documented / not working:
[admin@RB5009] > container/reset numbers=0
failure: Can't change root directory.
3. Registry: on 7.12.1 seem to not work at all, no matter what, there is no real explanation what should be imported: a docker container or a root filesystem?
[admin@RB5009] > container/config/export
[...]
/container config
set registry-url=https://registry.hub.docker.com/_/ tmpdir=/usb1/temporary/
[admin@RB5009] > container/add interface=veth1 root-dir=usb1/containers/test2 hostname=test2 remote-image=pihole/pihole:latest
22:25:07 container,info,debug importing remote image: pihole/pihole, tag: latest
22:25:07 system,info item added by ssh:admin@192.168.1.26 (*1A = /container add hostname=test2 interface=veth1 remote-image=pihole/pihole:latest root-dir=usb1/containers/test2)
22:25:07 container,info,debug error parsing manifests
22:25:07 container,info,debug was unable to import, container 8b16b557-bacb-4c1e-9b45-94abb13e7689
4. Is there any way to reach the container storage? the mounts? seems not, as its marked as container storage and while I can copy via ssh, I seem not to have access from mikrotik host. Is it by design? why it is not mentioned?
[admin@RB5009] > file/print
Columns: NAME, TYPE, SIZE, CREATION-TIME
# NAME TYPE SIZE CREATION-TIME
0 usb1 disk 2023-11-29 22:25:07
1 usb1/lost+found directory 2023-11-17 22:28:09
...
7 usb1/containers/test container store 2023-11-29 22:23:28
8 usb1/containers/test2 container store 2023-11-29 22:25:07
9 usb1/temporary directory 2023-11-29 22:25:07
10 usb1/etc directory 2023-11-28 00:41:17
11 usb1/etc/dns container store 2023-11-28 01:18:11
12 um5files/PRIVATE directory 1970-01-02 04:59:02
5. Are the mounts shared? I can I make them immutable from the POV of the container? can i use same content for my application and only replace the application code (container application)?
This and probably more questions I'd love to have answered! here and ideally in the official Confluence container documentation!
Thanks and have a good day!