Community discussions

MikroTik App
 
RyperX
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Thu May 21, 2015 11:14 am

Copy Container no Remote Image Setting

Mon Jun 02, 2025 3:45 pm

Hey guys,

this problem is bothering me since release and i thought this will be fixed soon.
It is not "fixed" or i wanted to know WHY is the remote-image setting not copied if we use the "Copy" function in containers?
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4963
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Copy Container no Remote Image Setting

Mon Jun 02, 2025 3:57 pm

Yup, I keep thinking this is going to be fixed too. It is annoying that "copy" does not remember the remote-image= (and few others too).

And, the CLI is similar broken for "export" where remote-image= is missing there too. I have an open bug (SUP-128652) since 2023 on the CLI part since it creates an export that will error out on /container when ":import" (or run-after-reset, etc). MikroTik reported "Your request is still under consideration." recently when I asked for status. So it's not just WinBox/WebFig that have an issue here too.
 
RyperX
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Thu May 21, 2015 11:14 am

Re: Copy Container no Remote Image Setting

Sat Jun 07, 2025 11:01 am

Yeah, i found a script to copy a container, but also this script which is using CLI is not copying the remote image.

Really don't understand.
 
optio
Forum Guru
Forum Guru
Posts: 1133
Joined: Mon Dec 26, 2022 2:57 pm

Re: Copy Container no Remote Image Setting

Sat Jun 07, 2025 7:06 pm

ROS lacks proper container images management like Docker or Podman where you can pull latest image and upgrade existing or create new container instance from image reference.
With script it is possible to achieve this, but it would be better than such functionality exists in ROS.
Here is script which I'm using for upgrade existing container from remote image in container tag, with minor changes it can be adapted to create new instance (instead replacing existing one) if needed.