docker volume create --name FLIR_data_matched \
--opt type=none \
--opt device=/home/kingj/FLIR_matched_gray_thermal \
--opt o=bind
docker volume create --name MERGEN_FLIR_output
docker start -i <container_ID or container_name>
docker attach <container_ID or container_name>
CTRL-p CTRL-q # key sequence
docker cp <container_name>:<source_path> <destination_path>
source_path
pertains to the path within the container. Note - this must be run from outside a running or stopped container. It is not possible to move data out of a removed (deleted) container.
$ docker ps # lists running docker containers
$ docker ps -a # view all containers, both running and stopped
$ docker container rm <container_name> # deletes a container *CAUTION!*
$ docker image ls # view all docker images on host machine
$ docker stats <container_name> --no-stream # no-stream option presents just the current stats
$ docker login # requires account, will prompt for username and password
$ docker commit [OPTIONS] <container_ID or container_name> <dockerhub_path>:<tag>
$ docker push <dockerhub_path>:<tag>
$ scp file1 file2 <credentials>:<remote_dir> # Do this before ssh remote in
$ scp -r <dir> <credentials>:<remote_dir>
$ scp username@remote:<remote_path> <local_path> # must be done outside remote session
$ unzip myzip.zip
$ tar -xf train.tar.xz # unzips tar file
$ cat <file>
$ exit
$ nvidia-smi
$ nvidia-smi --list-gpus