dotnet / dotnet/docker-tools

Add support for running image-builder within Windows docker container

Open
#159 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
181
Forks
67
Avg merge
2d 15h
Merged PRs (30d)
10

Description

Currently the Nano Server Docker image doesn't support running image-builder within the container. The goal is to be able to do the following

`docker run -it --rm -v \\.\pipe\docker_engine:\\.\pipe\docker_engine mcr.microsoft.com/dotnet-buildtools/image-builder:nanoserver- build `

To do this the following will need to happen.

1. Add docker cli to the image.
1. Change from a nanoserver based image to servercore - it doesn't look like docker supports running on nanoserver.

Once supported this should be rolled out to the various dotnet docker repos to utilize so that image-builder does not have to be copied out of the image and run locally.

Related -
https://github.com/moby/moby/issues/36819

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.