-
Notifications
You must be signed in to change notification settings - Fork 1
Docker
The asmc image is used to create a container including ASMC and all its dependencies, directly installed inside an Ubuntu environment.
docker pull labgem/asmc
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
ASMC is then used as in any Linux environment, see this page: Usages. To exit the container, use exit
.
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.
docker cp <path_to_data> asmc:/home/ubuntu/
docker cp asmc:/home/ubuntu/<path_to_data> <local_path>