Skip to content

Commit 98ac1f8

Browse files
Anirudh Kulkarniprabhakk-mw
Anirudh Kulkarni
authored andcommitted
Updated README to add information about the --init flag.
fixes #121
1 parent 534a96d commit 98ac1f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

alternates/non-interactive/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ Build a container with a name and tag.
2828
docker build -t matlab-non-interactive:R2024b .
2929
```
3030

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+
3233
```bash
3334
docker run --init --rm matlab-non-interactive:R2024b matlab-batch -licenseToken "[email protected]|encodedToken" "rand"
3435
```

0 commit comments

Comments
 (0)