All Questions
Tagged with docker docker-for-windows
123
questions
-1
votes
1
answer
45
views
When updating Wsl I Get an Error
I have Windows 11 machines
I installed docker and after installing I got an error "wsl --update"
And when I run the code wsl --update in Windows PowerShell as Administrator
I got an error:
...
-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 ...
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
75
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
645
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
576
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
429
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
4k
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
275
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/...
1
vote
0
answers
1k
views
Docker compose Error response from daemon, Ports are not available on Windows 11
I have following docker-compose.yml file:
services:
## NGINX
nginx:
container_name: zl-nginx
image: redis:alpine
restart: unless-stopped
networks:
- reza
ports:
- ...
0
votes
1
answer
1k
views
How can I run a Windows Docker container on Windows without "open \\.\pipe\docker_engine_windows: The system cannot find the file specified"?
I am running Docker 20.10.22 on Windows 10 Pro 64-bit.
In my Docker Desktop settings, I have using WSL 2 disabled:
I have Hyper-V enabled:
I have Docker Desktop in Windows containers mode instead of ...
0
votes
1
answer
5k
views
How to correctly mount/bind/... a local (host) dir into a docker container
I'm currently using Windows 11 and I try to construct a docker file for my development environment, which can be seen below. For me, the line RUN --mount=type=bind,target=/home/$username/src is ...
1
vote
1
answer
940
views
How to access host:port of a linux container from a windows container?
Basically I'm trying to access a Linux container via a Windows one on the same machine. From what I've read so far the easiest way to to do this via the host and registered ports but I'm having no ...