Questions tagged [docker-for-windows]
Docker implementation for Windows, running on WSL2 or Hyper-V.
193
questions
-1
votes
1
answer
36
views
When updating Wsl I Get an Error
enter image description hereenter image description hereI have Windows 11 machines
I installed docker and after installing I got an error "wsl --update"
And when I run the code wsl --update ...
1
vote
1
answer
543
views
How to set mirrored for only one distribution in WSL2?
I would like to use mirrored network for my default WSL2 distribution, but for other distribution, I want them remain NAT. Especially for docker desktop, containers should have not had any impact to ...
2
votes
1
answer
405
views
Does Docker Desktop run its containers in Windows or in WSL2?
Context
I set up a WSL2 running Debian. I run some Docker compose scripts. Everything is contained within WSL2, except Docker Desktop, which I installed on Windows.
Already have I read that it's ...
-1
votes
1
answer
76
views
set configuration of docker-desktop programaticaly
I'm here again, let's see if you can give me a hand...
Normally when you install docker-desktop from 0, some configuration files are set to:
C:\Users\AppData\Roaming\Docker\setting.json
It is almost ...
0
votes
0
answers
114
views
Specify custom WSL path when using Docker Desktop on Windows
When installing WSL updates manually, it installs to C:\Program Files\WSL, but the default wsl.exe exists in System32 so when Docker Desktop calls wsl it doesn't use the new version.
Is there a way to ...
1
vote
0
answers
296
views
How do I set env variables for Docker on Windows desktop?
I'm trying to set up Sabnzbd and this is what I'm attempting to set:
I am getting this message:
s6-linux-init: warning: unable to dump kernel environment to /run/s6/container_environment: Is a ...
1
vote
1
answer
1k
views
Error when setting up Ansible AWX
Im setting up Ansible AWX on my Windows 10 machine using docker-compose. When running the install playbook ansible-playbook -i inventory install.yml I get the error below. Im able to see the login ...
1
vote
0
answers
74
views
Launch docker container from power shell fail, unexpected behavior?
I have created the following script in powershell for two objectives:
read from an .env file the setup of the local urls of my development environment and deploy them to the Windows hosts file.
take ...
0
votes
0
answers
640
views
Launch Docker Desktop's Container Via Windows Command-line
How do I launch a Docker container, which was created via Docker Desktop, using a Windows command line?
I have containers I created via Docker Desktop. I can launch them via Docker Desktop. I can also ...
0
votes
1
answer
3k
views
Docker Error : An unexpected error occurred, Restart Docker Desktop
I have installed Docker Desktop on Windows 11 using WSL 2 as the base.
It seems to be working fine internally.
However, every time I boot up or go to the settings screen,
I get the following error at ...
0
votes
1
answer
573
views
How do I access my Windows directory from docker running on wsl?
As an example, I have installed Audioserve on Docker running Ubuntu via WSL on Windows.
I would now like to add my audio folder but can not navigate to my Windows folders where they exist as I can ...
4
votes
1
answer
423
views
Why would Docker Desktop unpause itself in Windows 11
Given:
Docker Desktop (latest version) Version 4.19.0 (106363)
Windows 11 Pro 22H2
When I pause Docker Desktop, after a few minutes it will unpause itself. Anyone know why this might happen?
1
vote
2
answers
3k
views
Docker on Windows is very slow
I have a Docker on Windows 10 which uses Ubuntu 20, WSL2, ... but it is very slow.
I tried to set up confuguration in .wslconfig file which looks like
# Limits VM memory to use no more than 4 GB, this ...
0
votes
1
answer
274
views
How to separate the container folder and images folder in Docker WSL2?
Ok, there is a post about changing the location of the Docker data, but what if I need to place the containers' filesystem on one drive (SSD) but keep images on another (HDD)?
Is there a way to do ...
0
votes
0
answers
558
views
"Invalid reference format: repository name must be lowercase" when installing via Docker
I'm trying to install SeaDAS via Docker and this should be the code to enter in the windows PowerShell:
docker run -v $HOME/ocssw:/root/ocssw-v $HOME/seadasClientServerShared:/root/...