Open Laura-Bueno opened 2 years ago
Hi @Laura-Bueno, I'll look into why this error is being produced. You may pull the pre-built image in the meantime with docker pull dmri/mcr-v97
.
I just tried building this Dockerfile and it runs to completion on my end. In order for me to better assist you, could you post the command you ran, your system information, and a screenshot of the terminal window with the error?
Hi @TheJaeger , thank you for your reply. I just tried to pull the pre-built image with docker pull dmri/mcr-v97 as you mentioned, however I get the following error:
"failed to register layer: ApplyLayer exit status 1 stdout: stderr: write /mcr-install/MATLAB_Runtime_R2019b_Update_5_glnxa64.zip: no space left on device"
I tried 'docker system prune --all' and still got the same error. Any ideas how could I solve this?
Thanks
It means that all storage allocated to Docker for containers/images is full. You'll need to remove some containers to make more space. This guide here clears ALL locally stored containers: https://stackoverflow.com/questions/44785585/docker-how-to-delete-all-local-docker-images
Hi @TheJaeger , thank you - I managed to solve he issue with the memory space. I have also instaled matlab runtime in the virtual machine and pulled the matlab runtime docker image. However, when I run the dockerfile I get the following error related to the environmental variable Library path.
RuntimeError: Could not find an appropriate directory for MATLAB or the MATLAB runtime in LD_LIBRARY_PATH. Details: libmwmclmcrrt.so.9.7
Any ideas why this could be?
thanks!
Hi @Laura-Bueno,
Could you share the command you ran, as well a screenshot of your Terminal window?
Hi @TheJaeger,
Sure, please see below.
1) Pulled the image running the command docker pull dmri/mcr-v97. 2) Installed Matlab runtime v9.7 in virtual machine and set up the library path environmental variable. 3) Within Dockerfile to run my application I included a command to import the runtime image and added the following commands to set up the environmental variable:
ENV LD_LIBRARY_PATH /opt/mcr/v97/runtime/glnxa64:/opt/mcr/v97/bin/glnxa64:/opt/mcr/v97/sys/os/glnxa64:/opt/mcr/v97/extern/bin/glnxa64 ENV XAPPLRESDIR /etc/X11/app-defaults
The dockerfile runs ok and it is able to build the image of my application however when I create and the container I get the following error:
Thanks
Hi,
When I try to run your dockerfile to install Matlab Runtime in my Linux VM, I get the following error:
The following error was detected while installing lxe/lxe_glnxa64:
/opt/mcr/v97/bin/glnxa64/builtins/lxe/lxe/mwm_lxe_builtinimpl.so (No such file or directory)
Any idea what this could be or how to fix it please?
Many thanks in advance!