Command Reference
Container Actions
|
Action |
Command |
|---|---|
|
Load the Docker image |
docker load -i ascmo_image.tar |
|
Run a preconfigured project |
docker run --rm -t -e LICENSE_USER=<user> --mount type=bind,source=<dir>,target=/data --mount type=bind,source=<lic>,target=/license/network.lic,readonly ascmo_image compute /data/<file> |
|
Run an ASCMO script |
docker run --rm -t -e LICENSE_USER=<user> --mount type=bind,source=<dir>,target=/data --mount type=bind,source=<lic>,target=/license/network.lic,readonly ascmo_image script /data/<file> |
|
Run with a custom user ID |
Add --user <uid>:<gid> to the docker run command. |
Common Docker Options
|
Option |
Description |
|---|---|
|
--rm |
Removes the container automatically after it exits. |
|
-t |
Allocates a pseudo-TTY. This helps display container output while the computation runs. |
|
-e LICENSE_USER=<user> |
Sets the user name for license server authentication. |
|
--user <uid>:<gid> |
Runs the container with a specific user ID and group ID. |
|
--mount type=bind,source=...,target=... |
Mounts a host file or folder into the container. |
|
--mount ...,readonly |
Mounts a file or folder as read-only. Use this option for network.lic. |