Questions tagged [docker-for-windows]

Docker implementation for Windows, running on Hyper-V.

Filter by
Sorted by
Tagged with
1 vote
1 answer
38 views

more command not showing --More-- on Ubuntu for Windows

My 'more' command is not working as expected. Trying to use it with kubectl command, and it only displays the first few lines, an error, then the last lines, without allowing me to view the rest of ...
user avatar
0 votes
1 answer
28 views

Mount SMB share (CIFS) to container using secured credentials or token

I have a docker-compose setup that runs my Linux development environment on Windows. A number of these containers need to mount smb drives using LDAP credentials. The way this woks now is by adding a ...
user avatar
0 votes
1 answer
120 views

Getting Community Docker to Switch to Linux Containers in Windows (without relying on Docker Desktop.)

I have a very specific Docker/Windows question with very specific constraints. I hope I can find a conclusive answer ("no, it cannot be done", or "it can be done with these reproducible ...
user avatar
0 votes
1 answer
26 views

How to stop jar from executing inside container, with green border?

Windows 10 (64-bit) I'm trying to run an executable jar. It opens & runs fine, but there is a green border around the window, and any application which is opened by this app, also has a green ...
user avatar
  • 101
0 votes
0 answers
33 views

Windows returns to the same exact state after reboot

So, I'm using windows 11 on Lenovo Thinkpad E590. The problems started after installing Docker desktop and Splash. It was working just fine when suddenly blue screen of death appeared with syren like ...
user avatar
0 votes
1 answer
79 views

Unable to run project on Docker from Visual Studio

So after many hours banging my head I decided to write. I started a very simple console project on VS2022 <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType&...
user avatar
  • 1
-1 votes
1 answer
171 views

Unable to use networking (apt-get) in Docker 12.04 under Windows

I must create a Docker container for Ubuntu 12.04. I am setting up the container into a Windows 10 VM. To get build tools, I need to get apt-get install to work, but it can't reach its sources. I am ...
user avatar
  • 598
0 votes
0 answers
28 views

Is Sysmon compatible with a Windows Docker container?

I'm trying to run Sysmon on a Windows Docker container (via Docker for Windows), but getting errors: PS C:\Users\jonat\Documents\GitHub\vulhub-lab> docker-compose up --build -d Building win10 ...
user avatar
  • 159
0 votes
1 answer
122 views

Am I misusing the --name argument for Docker?

This works: docker run -it mcr.microsoft.com/windows:20H2 --isolation=hyperv I get a CLI for the container, everything is good. This doesn't work: docker run -it mcr.microsoft.com/windows:20H2 --...
user avatar
  • 159
1 vote
2 answers
81 views

docker run mcr.microsoft.com/windows/servercore:ltsc2022 -i --isolation=hyperv resulting in errors. What am I doing wrong?

I'm running a valid, licensed copy of Windows 11 Pro. > docker version Client: Cloud integration: v1.0.22 Version: 20.10.13 API version: 1.41 Go version: go1.16.15 Git ...
user avatar
  • 159
2 votes
1 answer
157 views

Issues with installing the NVIDIA driver Ubuntu

I want to install Docker NVIDIA packages on Ubuntu Desktop (Windows 10 Pro is a host OS). I do have Docker runnung and now I am trying to install the NVIDIA driver for Ubuntu. After the following ...
user avatar
0 votes
1 answer
262 views

docker build - use a containers network

I have a windows 10 host, using docker desktop 4.6.1. I have a docker-compose.yml which contains the two services vpn and app. What I want to achieve is, that the build process of docker already uses ...
user avatar
  • 936
0 votes
0 answers
62 views

How do you assign a different port to Acryllic DNS?

How do you assign a different port to Acrylic DNS? I am using Acrylic DNS, but it interferes with the port Docker Desktop uses, so I am wondering how to set Acrylic DNS to use a different port without ...
user avatar
  • 113
0 votes
0 answers
64 views

Access is denied for a docker.exe file in windows command prompt

I am trying to run .\dockerd.exe -D --data-root C:\lcow message: failed to load listeners: open //./pipe/docker_engine: Access is denied. Process monitor: c:\users[name]\tzres.dll NAME NOT FOUND ...
user avatar
3 votes
1 answer
1k views

Docker Desktop for Windows GUI is not starting

I'm using Docker Desktop for Windows. It "suddenly" does not start. The Docker Desktop.exe process is running idle in the background. But there's no GUI, not even the tray icon. It happened ...
user avatar
1 vote
0 answers
137 views

How to make Docker container and the host on same Network Level?

I want to make docker container's IP accessible from the host, just like "Host-only network" that VirtualBox has. Currently I can ping the windows host from docker container, but not the ...
user avatar
  • 111
0 votes
0 answers
94 views

Windows 10 cannot detect internet connection after adding Hyper-V Ethernet Adapter

I installed Docker, which added a Hyper-V Ethernet Adapter to my PC. Restart computer, now computer can access internet, but say it can't: Screenshot: Windows display "No internet access" ...
user avatar
  • 101
0 votes
1 answer
732 views

"The attempted operation is not supported for the referenced object type" when installing Ubuntu WSL on Windows 10

I'm trying to install Ubuntu using Windows Subsystem for Linux. But when running Ubuntu, it always it gives me L’opération tentée n’est pas prise en charge pour le type d’objet référencé English : ...
user avatar
  • 103
0 votes
0 answers
45 views

Access Docker Desktop's volumes from WSL2 bash

How to access the volume of a Docker Desktop app from Windows WSL2 bash? I can see the \\wsl.localhost\docker-desktop-data\version-pack-data\community\docker\volumes just right from Windows Explorer, ...
user avatar
0 votes
0 answers
693 views

Hyper-V Windows VM's with the same speed and convenience as WSL?

WSL2 VM's start in seconds and are persistent. Windows Sandboxes are not persistent and setting up a Hyper-V VM's is a bit tricky and takes a bit of time to define - compared to the convenience of the ...
user avatar
  • 355
0 votes
0 answers
92 views

Invalid Password When authenticating Windows 11 Pro LAN PC

0 I am doing several things at once on my Windows 11 network. I added a Windows Server 2022 and things are going fine except I can't connect any of my computers using my Microsoft login to my Windows ...
user avatar
0 votes
1 answer
26 views

Running a python program which runs a SHELL script containg linux based command inside a windows base image docker

I want to run a SHELL SCRIPT file inside the windows base docker image. How to build a windows based docker image which has the functionality of running Linux scripts and supports Linux-based commands?...
user avatar
  • 1
0 votes
0 answers
25 views

Use windows environment variables in docker-compose.yaml file

I would like my Windows Username available in my (Linux) container as $WINDOWS_USERNAME using docker-compose. But when I try accessing it with ${env:USERNAME}, I get this error: ERROR: Invalid ...
user avatar
2 votes
1 answer
647 views

I switched Docker over to WSL2 Is it safe to delete my Hyper-V folder?

I recently switched over from the legacy Docker desktop for windows(Hyper-V) to the WSL 2 based version. I am running out of space on my hard drive and noticed a folder at C:\Users\Public\Documents\...
user avatar
1 vote
3 answers
5k views

How to remove Docker distros from WSL?

I've installed Docker Desktop and Ubuntu 20.04 [Microsoft Store] on Windows 10 and see that I have three distros [below], but I want to get rid of docker-desktop and docker-desktop-data, as I don't ...
user avatar
0 votes
0 answers
23 views

Install docker on windows: impossible to activate virtualization

Hi tried to install docker desktop (3.4.0) on my personal HP laptop (windows 10 home 21h1), but after a successful installation the program continues to crash, raising the exception for a missing ...
user avatar
  • 101
0 votes
1 answer
113 views

Cygwin inside Windows container, coreutils do not work in volumes

I set up Cygwin inside a Windows Docker container and some common operations just fail when executed in Docker volumes. Examples: $ mkdir foo bar $ mv foo bar mv: cannot move 'bar' to a subdirectory ...
user avatar
0 votes
1 answer
31 views

How to find MySQL 8.0 user and password on Docker + WSL2

I followed the instructions as shown on the Laravel website: Getting Started On Windows And now I have a running container with a few images, one of them is the MySQL 8.0. But I can't log in to MySQL ...
user avatar
  • 1
0 votes
0 answers
3k views

Massive Memory Usage for Docker on WSL2, but not for Docker on Native Linux

I'm currently building cross-compilers via crosstool-NG in Docker images to simplify integration testing for a variety of low-level libraries. My laptop, running native Fedora (x86_64, 16GB RAM, i7 @2....
user avatar
2 votes
1 answer
1k views

Can't get GPU support for Docker with WSL2

Trying to run a GPU enabled container such as: docker run --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark I get this error: docker: Error response from daemon: OCI runtime create ...
user avatar
0 votes
0 answers
549 views

WSL export returning error while exporting docker-desktop-data

I am trying to free some space on my C driver by moving Docker For Desktop images and data to another driver. I've found out, that due to me using wsl2 compability I cannot simply move directory ...
user avatar
  • 101
3 votes
2 answers
4k views

Docker Desktop hangs, with tray icon text "Docker is starting"

After a computer restart and a Java runtime environment update, Docker Desktop hangs, with tray icon text "Docker is starting". When using Docker in PowerShell, it says: Sending build ...
user avatar
1 vote
0 answers
34 views

WSL does not have a switch?

As a novice I am beginning to experiment with containers. On my desktop I have wsl2 ubuntu and docker-desktop installed. Wsl does not have a virtual switch active to configure on my network ...
user avatar
  • 11
0 votes
0 answers
247 views

How to get docker to work correctly in guest Windows machine on VirtualBox?

On my host system ( Arch Linux ) I have created two guest Windows machines ( Windows 10 and Windows Server 2019 ) in VirtualBox. VT-x/AMD-V is enabled and also Nested Paging. I have installed Docker ...
user avatar
1 vote
2 answers
182 views

docker wsl2 context missing

I installed docker desktop and wsl2 on my windows machine At some point, i added a remote docker context and set it as default context. Now I can't see my local wsl2 context anymore. Here is my ...
user avatar
0 votes
1 answer
152 views

Windows + Docker + WSL2

I am starting with Docker on Windows. Simple examples work fine. But now I would like to install Laravvel 8 container which requires WSL2 installed with Docker desktop. According Microsoft doc. it ...
user avatar
  • 247
0 votes
1 answer
90 views

Docker icon on Windows 10 still starting

I have a Docker for Windows 10 installed. It seems it is running I can see my images in docker panel can run docker commands in cli. But the docker icon in info panel on the bottom right show me the ...
user avatar
  • 247
0 votes
1 answer
59 views

Where is Docker Windows 10 pull folder

I am starting with Docker. So as I learned the image is directory with dockerfile which contains docker directives to make docker container... But if I try to run external image from Docker hub via e....
user avatar
  • 247
1 vote
0 answers
156 views

installing windows-sdk-10-version-2004-all fails reporting "was not successful. Exit code was '-2146889721'"

Installing windows-sdk-10-version-2004-all using chocolatey in docker with Dockerfile FROM mcr.microsoft.com/windows/servercore:ltsc2019 RUN powershell.exe -NoProfile -InputFormat None -...
user avatar
  • 242
0 votes
0 answers
168 views

How to start local AEM 6.5 instance on port 4502 using Docker

I'm using the latest Adobe Experience Manager (AEM) image in Docker (https://hub.docker.com/r/aemdesign/aem) on my Windows 10 machine and everything was working fine, but suddenly AEM no longer loads (...
user avatar
1 vote
2 answers
417 views

Why is Vagrant in Ubuntu Docker container on Windows looking for PowerShell?

I am taking some training where all of the examples are in Ubuntu, but I am on Windows. So I thought I would install an Ubuntu Docker container, and that went well. The examples also require ...
user avatar
0 votes
1 answer
999 views

How to get dockercli in Windows Server 2016?

I was able to install docker on Windows Server 2016 using these commands: Install-Module DockerMsftProvider -Force Install-Package Docker -ProviderName DockerMsftProvider -Force But when I tried to ...
user avatar
  • 101
0 votes
1 answer
85 views

How to run a docker image in windows 10?

Can someone teach me how to run s docker image in windows 10? Please don't tell me to read a tutorial, there is a reason why I ask. I have already installed docker for windows. All tutorials say, &...
user avatar
0 votes
1 answer
476 views

Cannot connect to Linux services in WSL2 from browser (Windows 10)

I was using WSL2 for sometime and it was all okay - a great experience. But suddenly I am not able to connect to services in Linux from my browser. I cannot open jupyter notebooks and my pyramid app ...
user avatar
  • 493
0 votes
0 answers
43 views

Can I run an instance of macOS Catalina in my Windows 10 Docker Desktop

I'm a developer I'm trying to validate my MS Office VBA applications across multiple environments. I was told that some users have macOS Catalina installed. My current plan prior to this information ...
user avatar
0 votes
1 answer
3k views

Docker Desktop user must be added to "docker-users" group but I can't change groups in Windows Home

Docker Desktop install on Windows Home. I get the error notification "You must in the docker-users group." So you can go to compmgmt.msc to add yourself to the group, but Windows Home doesnt ...
user avatar
0 votes
1 answer
91 views

Windows - Running docker with commercial software

Is it possible to create a docker image of a commercial software with an installer as you would normally install into your host computer so that you can run the software without installing and you can ...
user avatar
  • 121
28 votes
2 answers
77k views

Docker WSL 2 installation is incomplete

After substituting Docker Desktop on Windows 10 with a more recent version, clicked to start it and got the following error WSL 2 installation is incomplete The WSL 2 Linux kernel is now installed ...
user avatar
3 votes
0 answers
385 views

Is it safe to install / run Docker Desktop WSL2 and Docker within WSL2 on Windows 10?

I am running Windows 10 and I have already installed Docker Desktop with WSL2 integration. I have an NVIDIA GPU in my laptop and I want to run GPU-accelerated containers using NVIDIA's Container ...
user avatar
0 votes
2 answers
508 views

How do docker linux container on windows get their ip address?

Does docker (Windows) assign the IP address of a (Linux) container when it starts it, or is that static information pre-defined in /etc/hosts? In my case I'm starting two simple containers that end up ...
user avatar
  • 111