docker create --name atompmrun -p 8124:8124 -ti atompmvmhttp://localhost:8124/atompm
localhost in the above address. Find the host's IP address by running docker-machine ip.You can run docker commands from different terminals.
To start the container (and attach):
docker start -a atompmrun
To attach to a container:
docker attach atompmrun
Stop container:
docker stop atompmrun
List container status
docker container ls -a
You can run docker commands from different terminals.
From VM to host (backup).
docker cp atompmrun:/opt/atompm/users/. ./atompmusers/
From host to VM (restore):
docker cp ./atompmusers/. atompmrun:/opt/atompm/users/
Delete container: Danger: you will lose all the files modified inside the VM. This includes all models created in atompm!
docker rm atompmrun
Delete image:
docker image rm atompmvm
Delete dangling caches:
docker system prune