FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
06-22-2023 11:49 AM - edited 06-22-2023 02:49 PM
Hello CtrlX community,
I have built a snap, which is approximately 500MB. The snap is basically a docker image, that should be deployed into Container Engine App.
When the Container Engine starts executing, the below error occurs:
[promoter] output: Error processing tar file(exit status 1): write /e70ee884c34e0959ab0889e825fa4674deacd717e384cda0ae5597aaed21fe19/layer.tar: no space left on device
I have uninstalled several apps and I have tried to configure RAM. It looks like there is enough memory. However, the problem still appears.
To troubleshoot:
1. I have tried with hello world docker image. It worked fine
2. I have tried with node red docker image. The total snap size was 160MB. It worked fine as well.
3. I have tried to install one more docker image along with node red. The total size of this snap was approx 100MB. Then, the "no space left on device" error appeared.
So, is there any limit for individual snap size to be installed? is there any limit on total collective size of snaps installed? is the size limit configurable?
Update:
I have added external USB to extend the system data. Still, when container engine app starts to execute, it consumes system data only. It is not accessing the sda1 extended memory.
How to constrain any app to use the extended memory? Please, can someone explain this?
Thanks & Regards
Solved! Go to Solution.
06-26-2023 11:57 AM
Hello,
It is a known issue wich has not direct and easy solution because it is binded on how docker is created (that doesn't rely on Container app development from rexroth, we're just using that). I also tried myself to let this working with no results, i forward again the question to the developers.
Docker is a SW tested and designed to be cloud based with almost illimited storage See: Docker and diskspace . CtrlX core X3 can definitely running Docker images but it depends on how much this image is big, there is no yet a benchmark.
To use more resource hungry Images is better to wait for the x7 controller.
Any app that contains the removeble-meda plug can use an external memory mounted as removable media and then write to /media/yourmediadevice.
Mauro
06-27-2023 11:24 AM
Checked with Devs. Not already possible for the previous reasons! ☹️
06-28-2023 09:29 AM
Hello,
Thanks for the reply.
As you have already mentioned, the possible way at the moment to deploy docker images of large size is to use CtrlX core X7.
Regards