Comments (2)
No, this doesn't work. I've tried that long time ago, but I don't think it has changed.
What you could use instead is bind mount the named pipe into a Windows Container.
On a Windows Server 2022 with Windows Docker engine running you can run a container that uses the Docker engine on the Windows host:
docker run -v //./pipe/docker_engine://./pipe/docker_engine docker:24.0.7-windowsservercore-ltsc2022 docker version
from windows-containers.
PS C:\Program Files\docker> .\dockerd.exe
time="2023-12-30T14:02:37.629123500-08:00" level=info msg="Starting up"
time="2023-12-30T14:02:37.641269100-08:00" level=info msg="Windows default isolation mode: process"
time="2023-12-30T14:02:37.686873100-08:00" level=info msg="[graphdriver] trying configured driver: windowsfilter"
time="2023-12-30T14:02:37.703061300-08:00" level=info msg="Loading containers: start."
time="2023-12-30T14:02:37.706999700-08:00" level=info msg="Restoring existing overlay networks from HNS into docker"
failed to start daemon: Error initializing network controller: failed during hnsCallRawResponse: hnsCall failed in Win32: Class not registered (0x80040154)
As far as I can get it. I manually added all the files and such. But I assume that I would have to extract the class itβs looking for and somehow register it. Or the error is a generic error.
from windows-containers.
Related Issues (20)
- Uninstall Scripts for Container Runtimes HOT 1
- Tutorial: Web Development on Windows Containers HOT 1
- Starting a container with memory limit below 8M leaves zombie system processes and unstoppable container HOT 4
- Can build with bulidctl but nerdctl build cannot HOT 3
- Container start hangs if it was created from another container (Portainer scenario) HOT 5
- Requesting elaboration for HCN error 2151350293 (0x803b0015) HOT 16
- Can not start three containers with published ports, if using two NAT networks HOT 3
- Can't install buidltools2019 with chocolatey inside container HOT 4
- Cannot find Docker image for Windows 10.0.19045 HOT 1
- Dockerfile: `USER ContainerUser` results in "failure in a Windows system call: The user name or password is incorrect. (0x52e)" HOT 9
- Windows does not load the dlls api-ms-win-xxxxxxxxxxxx-l1-2-0.dll HOT 3
- FROM/layer-extraction on ltsc2019 fails: link operation for `Windows/INF/basicrender.inf` on cross-platform building from Linux HOT 12
- Usage of DISM fails inside container due to missing device driver HOT 4
- The referenced assembly could not be found. Error: 0x80073701 HOT 7
- NTAccount/Sid Translation fails with RPC Endpoint Mapper Authentication policy enabled and IIS installed HOT 1
- RUN --mount support in Windows BuildKit HOT 1
- Permission denied when docker pull HOT 1
- buildkit/buildx: powershell not in the PATH, error: The system cannot find the file specified.: unknown HOT 5
- Image 'LastUpdatedTime' date differs from DockerHub documentation HOT 2
- mcr.microsoft.com/windows/servercore:10.0.20348.2340 BSODs Windows 2022 10.0.20348.1726, mcr.microsoft.com/windows/servercore:10.0.20348.1970 does not HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-containers.