MikroTik Solutions

Changes To Container Limitations
Login

Changes To Container Limitations

Changes to "Container Limitations" between 2024-07-25 23:05:26 and 2024-07-25 23:35:36

138
139
140
141
142
143
144
145

146
147

148
149
150
151
152
153
154
138
139
140
141
142
143
144

145
146

147
148
149
150
151
152
153
154







-
+

-
+








…the kernel will complain that there is no command in the container’s `PATH` called “`ls -lR /etc`”.

You may then try to split it as…

    /container/add … entrypoint="ls" cmd="-lR /etc"

…but that will earn you error message from `/bin/ls` complaining that there is no option `-lR /etc`”!
…but that will earn you error message from `/bin/ls` complaining that it refuses to accept “space” as an option following the `R`!

If you try to “cuddle” the options with the arguments as…
If you get cute and try to “cuddle” the options with the arguments as…

    /container/add … entrypoint="ls" cmd="-lR/etc"

…the `/bin/ls` implementation will certainly attempt to treat `/` as an option and die with an error message.(^Yes, for certain. I tested the GNU, BSD, _and_ BusyBox implementations of `ls`, and they all do this.)

Things aren’t always this grim. For instance, you can run [my `iperf3` container](/dir/iperf3) as a client instead of its default server mode by saying something like: