#
Docker
List images
$ docker images
Remove image
$ docker rmi 7e
Build container
$ docker build -t <image_tag>:<tag> <directory_with_Dockerfile>
Run container
$ docker run -d --name <container_name> -v <host-volume:container-volume> -p <host-port:exposed-port> <image-name>
Show running containers
$ docker ps -a
Stop running container
$ docker stop 7e
Remove container
$ docker rm 7e
Go in container
$ docker run -it <container image> /bin/bash
#
Sending an image from a machine to machine
docker save -o <path for generated tar file> <image name> # Save image as a file, then send it with scp or wormhole
docker load -i <path to image tar file> # Then import the image from file into docker on destination pc