Matlab in Docker with intel GPU drivers
- Pull base image:
docker pull stargate01/matlab:r2023a-iris
- Start container:
./run.sh
- Install addons you need, matlab will restart
- Exit matlab
- Exit container shell
- Grab stopped container ID using
docker ps -a
- Commit modified container into new image, e.g.:
docker commit CONTAINER_ID stargate01/matlab:r2023a-iris-mod
- Modify line 14 in
run.sh
to use new modified image and also include the--rm
flag afterdocker run