Installing Addons from docker image failling

10 ビュー (過去 30 日間)
John Harrison
John Harrison 2022 年 3 月 19 日
回答済み: Swastik Sarkar 2024 年 10 月 23 日
Hello all, yesterday I got the latest docker image of MATLAB and everything worked fine. Then I tried running it with X11 and again it worked as expected, to do that I used the following command:
sudo docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:ro --shm-size=512M mathworks/matlab:latest
I then tried to install an add-on, specifically the Bioinformatics add-on and as soon as I clicked Install and then MATLAB shut down (as expected) and a new window poped up for a brief second but then the docker container just stopped.
Some info on my machine:
I use Arch(Kernel 5.16), using the latest docker version and I'm using the gnome desktop environment.

回答 (1 件)

Swastik Sarkar
Swastik Sarkar 2024 年 10 月 23 日
To install additional products alongside a Docker image running MATLAB, consider using the mpm utility to install MATLAB within the Docker image, specifying the desired products such as the Bioinformatics Toolbox. An example of this process can be found in the following MATLAB resource discussing the use of mpm in Docker containers.
For detailed guidance on mpm and creating a custom Docker image, refer to resources available on the MATLAB GitHub repository.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by