How to Copy Your Entire Ubuntu Docker Image into a Folder on Windows

I find this handy for troubleshooting why a file wasn’t where I thought it should be

Tech Notes

--

First create an image.

docker build -t myImage .

Now spin up the image into a container and then exit it without stopping it:

docker run --name my-container -it myImage /bin/bash

Now exit the container without stopping it by using CTRL + p + q

--

--