All Questions
Tagged with docker docker-for-windows
123
questions
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
911
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 ...