Docker commands 

# build new images
docker build -t patrikx3/openwrt-insomnia .

# run an image
docker run -t -i patrikx3/openwrt-insomnia bash

# list containers
docker ps

# run into an existing container that is running
docker exec -it CONTAINERID_OR_NAME bash

# create an image for a container like
docker commit CONTAINERID_OR_NAME patrikx3/openwrt-insomnia:linksys-wrt

# docker login before pushing
docker login

# list docker images
docker images

# upload an image to the registry
docker push patrikx3/openwrt-insomnia:latest
docker push patrikx3/openwrt-insomnia:linksys-wrt

Save images 

mkdir -p /media/backup/backup/docker
docker save patrikx3/openwrt-insomnia:latest | gzip > /media/backup/backup/docker/openwrt-insomnia:latest.tgz
sleep 5
docker save patrikx3/openwrt-insomnia:linksys-wrt | gzip > /media/backup/backup/docker/openwrt-insomnia:linksys-wrt.tgz

Load image 

gunzip -c /media/backup/backup/docker/openwrt-insomnia:latest.tgz | docker load
sleeep 5
gunzip -c /media/backup/backup/docker/openwrt-insomnia:linksys-wrt.tgz | docker load

For running or paused docker, use export: 

docker export DOCKERNAME_OR_TAG | gzip > mycontainer.tgz

Get from the registry 

docker pull patrikx3/openwrt-insomnia:latest
docker pull patrikx3/openwrt-insomnia:linksys-wrt
openwrt Insomnia
onenoteGithub onenoteredis-uiGithub redis-uiangular-compileGithub angular-compilegitlistGithub gitlistramdiskGithub ramdiskfreenomGithub freenomopenwrt-insomniaGithub openwrt-insomniadocker-debian-testing-mongodb-stableGithub docker-debian-testing-mongodb-stablecorifeusGithub corifeusredis-ui-serverGithub redis-ui-serversystemd-managerGithub systemd-managercorifeus-app-web-pagesGithub corifeus-app-web-pageshtml-pdfGithub html-pdfredis-ui-materialGithub redis-ui-materialverdaccio-cliGithub verdaccio-clixml2jsonGithub xml2jsonangular-http-cache-interceptorGithub angular-http-cache-interceptorgrunt-p3x-expressGithub grunt-p3x-expressbinary-search-closestGithub binary-search-closestcorifeus-app-server-patrikx3Github corifeus-app-server-patrikx3corifeus-builderGithub corifeus-buildercorifeus-utilsGithub corifeus-utilsjson2xls-worker-threadGithub json2xls-worker-threadtoolsGithub tools