openwrt Insomnia

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
onenoteGithub onenoteredis-uiGithub redis-uiangular-compileGithub angular-compilegitlistGithub gitlistramdiskGithub ramdiskfreenomGithub freenomopenwrt-insomniaGithub openwrt-insomniaredis-ui-serverGithub redis-ui-serversystemd-managerGithub systemd-managerredis-ui-materialGithub redis-ui-materialxml2jsonGithub xml2jsoncorifeusGithub corifeusangular-http-cache-interceptorGithub angular-http-cache-interceptorhtml-pdfGithub html-pdfverdaccio-cliGithub verdaccio-clibinary-search-closestGithub binary-search-closestcorifeus-app-web-pagesGithub corifeus-app-web-pagesgrunt-p3x-expressGithub grunt-p3x-expressjson2xls-worker-threadGithub json2xls-worker-threadtoolsGithub toolscorifeus-builderGithub corifeus-buildercorifeus-utilsGithub corifeus-utils