You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: alternates/non-interactive/README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,8 @@ Build a container with a name and tag.
28
28
docker build -t matlab-non-interactive:R2024b .
29
29
```
30
30
31
-
You can then run the container and use the `matlab-batch` command. Test the container by running an example MATLAB command, such as `rand`.
31
+
You can then run the container and use the `matlab-batch` command. Test the container by running an example MATLAB command, such as `rand`. Use the --init flag in the docker run command to ensure that the container stops gracefully when a docker stop or docker kill command is issued.
32
+
32
33
```bash
33
34
docker run --init --rm matlab-non-interactive:R2024b matlab-batch -licenseToken "user@email.com|encodedToken""rand"
0 commit comments