Run a Preconfigured ASCMO Project

A preconfigured project is an ASCMO project file that has been exported for execution in Docker.

You can export an ASCMO-STATIC project for Docker at the following locations:

You can export an ASCMO-MOCA project for Docker at the following location:

  • Optimization step > Optimize Export Job to Docker

Prepare the project folder

  1. Create a folder on the host machine.

  2. Copy the prepared project file into this folder.

  3. Copy all files required by the project into the same folder or into the required relative subfolders.

Start the computation

Run the container with the project folder mounted to /data:

Copy
docker run --rm -t \
    -e LICENSE_USER=<your_user_name> \
    --mount type=bind,source=/path/to/project_folder,target=/data \
    --mount type=bind,source=/path/to/network.lic,target=/license/network.lic,readonly \
    ascmo_image compute /data/my_project.docker.moca

The container executes the project and writes the results back to the mounted project folder on the host machine.

The path after compute is the path inside the container. In this example, the host folder /path/to/project_folder is mounted to /data. Therefore, the project file is referenced as /data/my_project.docker.moca.