How to share docker images without Docker hub or any registry

Docker Hub Images

mkdir saveimage
cd saveimage
docker pull busybox
docker save busybox > busybox.tar
docker load < busybox.tar

Customized Images

git clone https://github.com/ahmedbhl/dockerfiles-cmdvsentry.git
docker build -t nodeversion -f echo/Dockerfile.cmd .
// save to tar file
docker save nodeversion > nodeversion.tar
// load from tar file
docker load < nodeversion.tar

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store