The MATLAB® Linux® ARM® 64-bit open beta is an early build of MATLAB, Simulink®, and selected toolboxes.
This guide shows how to download MATLAB, extract it, and mount it into a prebuilt container that contains all of the required dependencies. To instead build your own container image, see Build Your Own Image. To install and run MATLAB on a Linux ARM system without using a container, see MATLAB on Linux ARM (Beta).
To run MATLAB in a container, you need:
- An ARM AArch64 processor.
- 8 GB of RAM (minimum). 16 GB of RAM (recommended).
- 15 GB of storage. An SSD is strongly recommended.
- A Linux operating system.
- Docker®.
To sign up for the beta, go to MATLAB R2026b Linux ARM 64 Open Beta, complete the sign-up form, and accept the Software Licensing Agreement. Then click the link provided to download the .tar.gz archive.
To run MATLAB in a container, follow these steps:
-
Extract the contents of the
.tar.gzarchive into a dedicated folder. These commands use the/opt/matlabfolder and version 3.1.1 of the archive, but the version number is subject to change.sudo mkdir -p /opt/matlab sudo tar -xf MATLABR2026b_OpenBeta_aarch64_v3.1.1.tar.gz -C /opt/matlab
-
Run the prebuilt Docker image and mount the extracted files into the
/opt/matlabfolder inside the container. The first time you run this command, Docker pulls the image from the GitHub® Container Registry.docker run --init -it --rm \ -v /opt/matlab:/opt/matlab:ro \ ghcr.io/mathworks-ref-arch/matlab-dockerfile/matlab-arm64:r2026b-ubuntu26.04
This command starts MATLAB in an interactive command prompt with an Ubuntu 26.04 base image. For information about using alternative base operating systems and startup options, see the following sections.
Tip
To give the container access to the GPUs on your system, include
--gpus allin your Docker run command. For more information, see Use GPUs in Containers.
The base operating system of the container image is independent of the operating system on the host machine. For example, you can run an Ubuntu image on a Red Hat host machine.
MathWorks® publishes prebuilt images for several base operating systems, following the naming scheme matlab-arm64:<release>-<os>. Modify your docker run command to use your desired tag.
| Image tag | Operating system | Supports MATLAB in a browser |
|---|---|---|
r2026b-ubuntu26.04 |
Ubuntu 26.04 | Yes |
r2026b-ubuntu24.04 |
Ubuntu 24.04 | Yes |
r2026b-ubuntu22.04 |
Ubuntu 22.04 | Yes |
r2026b-debian13 |
Debian 13 | Yes |
r2026b-debian12 |
Debian 12 | Yes |
r2026b-ubi10 |
Red Hat® UBI 10 | No |
r2026b-ubi9 |
Red Hat UBI 9 | No |
r2026b-ubi8 |
Red Hat UBI 8 | No |
Only the Ubuntu and Debian images support using MATLAB Proxy to run MATLAB in a browser.
To run MATLAB in a browser with an Ubuntu or Debian image, modify your docker run command to expose port 8888 for the web browser connection and specify matlab-proxy-app as the entry point.
docker run --init -it --rm -p 8888:8888 \
-v /opt/matlab:/opt/matlab:ro \
--entrypoint matlab-proxy-app \
ghcr.io/mathworks-ref-arch/matlab-dockerfile/matlab-arm64:r2026b-ubuntu26.04You can then access MATLAB by opening the URL that prints to the terminal. The default URL is http://localhost:8888.
To run a MATLAB script, statement, or function noninteractively, add -batch followed by the MATLAB code to run. For example, this command runs the script myscript.
docker run --init --rm \
-v /opt/matlab:/opt/matlab:ro \
ghcr.io/mathworks-ref-arch/matlab-dockerfile/matlab-arm64:r2026b-ubuntu26.04 -batch myscriptInstead of using the prebuilt image, you can build your own image and use it to run MATLAB on Linux ARM. Use these steps only if you need to build your own image, for example, if you need to customize the image.
To build the image, in addition to the requirements above, you need a Docker environment with BuildKit enabled. In current Docker releases, BuildKit is enabled by default.
To sign up for the beta, go to MATLAB R2026b Linux ARM 64 Open Beta, complete the sign up form, and accept the Software Licensing Agreement. Then click the link provided to download the .tar.gz archive.
Follow these steps to build and use an image that, like the prebuilt images, requires you to mount MATLAB at run time:
- Access the Dockerfile either by directly downloading this repository from GitHub, or by cloning this repository and then navigating to the
matlab-linux-arm64folder.git clone https://github.com/mathworks-ref-arch/matlab-dockerfile.git cd matlab-dockerfile/alternates/matlab-linux-arm64 - Build the image. By default, the Dockerfile builds on a prebuilt Ubuntu 26.04 base image. To build on a different operating system, see the Build with a Different Base Image section below.
docker build -t matlab:r2026b-ubuntu26.04-arm64 . - Run the image and mount the extracted files into a folder inside the container.
These commands start MATLAB in an interactive command prompt, but you can instead run MATLAB in a browser or in batch mode, as described above.
docker run --init -it --rm \ -v /opt/matlab:/opt/matlab:ro \ matlab:r2026b-ubuntu26.04-arm64
Follow these steps to build and use an image that includes a MATLAB installation:
-
Access the Dockerfile either by directly downloading this repository from GitHub, or by cloning this repository and then navigating to the appropriate subfolder.
git clone https://github.com/mathworks-ref-arch/matlab-dockerfile.git cd matlab-dockerfile/alternates/matlab-linux-arm64 -
Move the
.tar.gzarchive into thematlab-archivefolder insidematlab-linux-arm64.Note: Do not extract the archive.
-
Build the image. By default, the Dockerfile builds on a prebuilt Ubuntu 26.04 base image. To build on a different operating system, see the Build with a Different Base Image section below.
docker build -t matlab:r2026b-ubuntu26.04-arm64 . -
Run the image.
docker run --init -it --rm matlab:r2026b-ubuntu26.04-arm64
These commands start MATLAB in an interactive command prompt, but you can instead run MATLAB in a browser or in batch mode, as described above.
By default, the Dockerfile builds on a prebuilt Ubuntu 26.04 base image. To build on a different operating system, set the OS build argument to any operating system listed in the Use an Image with a Different Base Operating System table. For example, use this command to build on a Red Hat UBI 9 base image.
docker build --build-arg OS=ubi9 -t matlab:r2026b-ubi9-arm64 .To customize your image, you can use the following optional arguments with the docker build command. Specify these arguments after --build-arg.
| Argument | Default value | Description |
|---|---|---|
OS |
ubuntu26.04 |
Sets the operating system of the base image. For more information, see Build with a Different Base Image. |
MATLAB_TGZ |
MATLABR2026b_OpenBeta_aarch64_v3.1.1.tar.gz |
The file name of the MATLAB tar.gz archive in the matlab-linux-arm64/matlab-archive folder. |
PIP_INDEX_URL |
unset | A custom pip package index URL, for example, a private PyPI mirror. Leave this argument unset to install matlab-proxy from the public Python Package Index. |
For more MATLAB Docker resources, see More MATLAB Docker Resources.
You can help improve MATLAB by providing user experience information on how you use MathWorks products. Your participation ensures that you are represented and helps us design better products. To opt out of this service, set the environment variable MW_DDUX_FORCE_ENABLE to false when you run the container.
docker run --init -it --rm \
-e MW_DDUX_FORCE_ENABLE=false \
-v /opt/matlab/R2026b_OpenBeta:/opt/matlab:ro \
ghcr.io/mathworks-ref-arch/matlab-dockerfile/matlab-arm64:r2026b-ubuntu26.04If you build your own image, you can opt out by deleting this line in the Dockerfile.
ENV MW_DDUX_FORCE_ENABLE=true MW_CONTEXT_TAGS=MATLAB:ARM64:DOCKERFILE:V1To learn more, see the documentation: Help Make MATLAB Even Better - Frequently Asked Questions.
We encourage you to try this repository with your environment and provide feedback. If you encounter a technical issue or have an enhancement request, create an issue here.
Copyright 2026 The MathWorks, Inc.