Docker Community Forums

Share and learn in the Docker community.

How to building docker image for Windows container from scratch

Hi!
I am learning docker and i have a question, what i can’t resolve: How to building docker image for Windows from scratch

When we use docker for linux we can do it by using FROM scratch in Dockerfile, but this method dont work with Windows containers. For education purpose i whant to create my own base image instead downloading it from official microsoft base images.

Step 1: Create a Base Container. Let’s get started by creating a running container. …
Step 2: Inspect Images. …
Step 3: Inspect Containers. …
Step 4: Start the Container. …
Step 5: Modify the Running Container. …
Step 6: Create an Image From a Container. …
Step 7: Tag the Image. …
Step 8: Create Images With Tags.

Sorry but i dont undestand you. If u toking about docker manual… so i read it and dont find answer of my question.