Skip to content
thomas-bailly edited this page Apr 7, 2025 · 5 revisions

The asmc image is used to create a container including ASMC and all its dependencies, directly installed inside an Ubuntu environment.

Get the image

docker pull labgem/asmc

Create, start and go into the container shell

docker run -it -u ubuntu --name asmc labgem/asmc

If you forget the -u ubuntu option, use the following command from the container to change the user: su ubuntu.

The docker run command create and run a new container. To re-execute an existing container, use the following commands:

docker start asmc
docker exec -it asmc bash

Usages

ASMC is then used as in any Linux environment, see this page: Usages. To exit the container, use exit.

Import and export data

The command docker cp copies files between the container and a local system. This command must be executed in a shell outside the container and while the container is running (listed as status "Up" with the docker ps command). Either files or directories can be copied.

For more details about data management, please refer to https://docs.docker.com/engine/storage/volumes.

From local system to container

docker cp <path_to_data> asmc:/home/ubuntu/

From container to local system

docker cp asmc:/home/ubuntu/<path_to_data> <local_path>
Clone this wiki locally