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.
Install Docker.
Using docker's console, navigate to the root of this repository.
Build the docker image. This will download all dependencies you need to run the examples. You might need root access.
docker build -t atompmvm .
Export the docker vm:
docker save atompmvm | gzip > atompmvm.tar.gzdocker load < atompmvm.tar.gz
Note the host's IP address by running:
docker-machine ip.MACHINE_IPRun the docker container (one of the following)
docker run --name atompmrun -p 8124:8124 -ti atompmvmOpen your browser and navigate to http://MACHINE_IP:8124/
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/
These commands can be run from a second docker terminal.
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