All Questions
Tagged with docker docker-for-windows
123
questions
0
votes
0
answers
178
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 ...
1
vote
1
answer
412
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 ...
0
votes
1
answer
480
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 ...
1
vote
0
answers
6k
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....
2
votes
1
answer
3k
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 ...
0
votes
0
answers
2k
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 ...
1
vote
1
answer
377
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 ...
0
votes
1
answer
169
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 ...
0
votes
1
answer
289
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....
0
votes
0
answers
408
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 (...
1
vote
1
answer
2k
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 ...
0
votes
1
answer
594
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, &...
0
votes
1
answer
444
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 ...
42
votes
3
answers
166k
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 ...
3
votes
0
answers
552
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 ...
0
votes
2
answers
1k
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 ...
3
votes
0
answers
2k
views
Docker Desktop WSL2 volume mapping not working
I'm running Docker Desktop with WSL2 backend.
I'm trying to run a docker-compose.yml which looks like the following:
version: '3.8'
services:
foo-service:
volumes:
- /home/foo:/var/lib/foo
...
0
votes
1
answer
3k
views
How fix Docker "command not found", "Object not found" and term "not recognised as part of cmdlet" errors
I have setup docker destop on my pc. I have run the simple "Whalesay" container to ensure everything is working. I then tried using the following pull and run command:
docker pull natverse/r-...
-1
votes
2
answers
2k
views
How do I stop the docker service from always using all of its allocated ram on my host?
The docker service on Windows 10 seems to always use the maximum amount of memory it is permitted to allocate. For example, when I increased the memory in the Resources -> Advanced section from 2GB ...
1
vote
0
answers
203
views
Issue setting up Docker on Windows 10 Home using WSL2 [duplicate]
I am trying to set this up to be able to run a docker-compose setup on my Windows 10 Home with docker toolbox.
I need WSL2 to be able to do port forwarding from the Docker container, through WSL2 and ...
2
votes
1
answer
913
views
What happens to Docker container when not shutting them down?
I am new to Docker and noticed that after starting my Docker containers and working with them, I do not shut them down but just normally restart my computer.
Now, I am wondering which effect this has ...
2
votes
0
answers
1k
views
Export the display of a Windows Container in Docker for GUI testing
I know that it is possible to connect to a remote Unix machine by running an X Server on Windows and exporting the Unix display to that server. By passing in an environment variable with the docker ...
0
votes
1
answer
477
views
unable to run "docker-compose up" after replaced Docker Desktop for Windows by Docker Toolbox
Scenario: I had my docker-compose.yml working as expected when I was using Docker Desktop For Windows (here is Windows 10 Pro). Since I had to use also Virtual Box + Minishift in same Notebook I read ...
1
vote
1
answer
4k
views
How to access Windows shared network drive from Windows Docker Container
I need to access my network shared drive D: from my Windows container.
Using Docker Desktop 2.1.0.5 with Windows containers and Windows 10 Pro 1903.
I tried using:
docker run --rm -it mydocker/image ...
2
votes
1
answer
2k
views
Docker: "not found" and "invalid handle" errors for Linux container volumes in Docker for Windows 10
I've set up the latest Docker Desktop 2.1.0.5 in Windows 10 and creating and running simple/trivial containers i.e. docker run --rm -v c:/Users:/data alpine ls /data works fine.
However, I'm having ...
1
vote
1
answer
262
views
ssh from windows10 to a docker container ends with asking a password
I'm trying to test gitlab in a docker container installed on my windows 10 machine.
But when I try to push my code, it ends with asking git's password
When I test the connection with ssh -vT, here is ...
0
votes
0
answers
589
views
Docker on Windows server 2016 stuck on running image, Syscall timeout in event viewer
I've installed Docker on Windows server 2016 following these instructions. The client hangs when I try to run the hello-world image
PS C:\Windows\system32> docker run hello-world:nanoserver-...
0
votes
1
answer
107
views
docker export import for windows containers
Actual there is no support for export option for windows containers.
Is there another way to transport an image to another host host?
I am not using the docker hub.
0
votes
0
answers
376
views
Docker container die exitCode=0
So I'm trying to start a Ubuntu container in Docker.
I'm running:
Windows 10 Enterprice N version 1903
Docker Desktop Community version 2.1.5.0(40323) Channel edge
Docker version 19.03.4, ...
0
votes
1
answer
530
views
Docker plugin ls returns with an error response
when running "Docker plugin ls" I get the following response "Error response from daemon: plugins are not supported on this platform". I have no plugins installed so i was expecting an empty list. I ...