Skip to main content

All Questions

-1 votes
1 answer
39 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 ...
mobin's user avatar
  • 1
-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 ...
Francisco IA Lover's user avatar
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 ...
eia92's user avatar
  • 63
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 ...
Francisco IA Lover's user avatar
0 votes
0 answers
642 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 ...
Kevin Kleinfelter's user avatar
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 ...
Hodori's user avatar
  • 103
0 votes
1 answer
575 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 ...
Patrick's user avatar
  • 11
4 votes
1 answer
428 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?
Rod's user avatar
  • 515
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 ...
Čamo's user avatar
  • 355
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 ...
Cherry's user avatar
  • 950
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/...
Riccardo Bentivogli's user avatar
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: - ...
Reza Amya's user avatar
  • 111
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 ...
Shane Bishop's user avatar
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 ...
i_want_more_edits's user avatar
1 vote
1 answer
939 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 ...
Magpie's user avatar
  • 111
0 votes
1 answer
79 views

Docker Desktop can't start at first time in Windows 10

I click on the Docker Desktop icon, the Docker upload window appears and after some time it closes, I repeat these steps about 5 times to start successfully. I am using Windows 10 Pro, my processor is ...
dalthonmh's user avatar
  • 101
2 votes
0 answers
691 views

How to recover/recreate docker-desktop and docker-destop-data wsl distro

I deleted all wsl distro in my system including docker-desktop and docker-desktop-data using wsl commands. Later I uninstalled docker. Removed WSL feature as well. Now after some days, I installed WSL ...
Swanand Gajendragadkar's user avatar
0 votes
1 answer
258 views

Configure Windows Container as NAT Router

Preface: Similar to this post, but need a windows specific solution. I need to route traffic from a cluster of windows containers through another windows container within that same cluster. The goal ...
gerneio's user avatar
  • 11
4 votes
1 answer
6k views

How do I safely re-install a corrupt Docker-desktop installation on Windows 11 without losing containers and data (due to Docker failed to initialize)

To solve the issue described in detail below, I would like to know: if I re-install Docker desktop in the same folders, will my existing images, containers and data contents be retained or lost? If so,...
user1729972's user avatar
0 votes
0 answers
109 views

Windows install docker from binary and set docker environemt variable

I have to install docker on Windows from binary. I downloaded them and installed them as described in the documentation. I can run docker ps in the folder I installed docker at. Outside of this folder ...
Robin's user avatar
  • 1
0 votes
1 answer
1k 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&...
chapas's user avatar
  • 1
-1 votes
1 answer
1k 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 ...
Thalia's user avatar
  • 658
0 votes
1 answer
421 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 --...
J.Todd's user avatar
  • 159
1 vote
2 answers
1k 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 ...
J.Todd's user avatar
  • 159
2 votes
1 answer
2k views

Issues with installing the NVIDIA driver Ubuntu on WSL

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 ...
user17825011's user avatar
0 votes
1 answer
4k 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 ...
Peter's user avatar
  • 1,075
6 votes
1 answer
9k 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 ...
Martin Prikryl's user avatar
1 vote
0 answers
999 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 ...
dkregen's user avatar
  • 111
1 vote
1 answer
4k 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 : ...
wahib's user avatar
  • 113
0 votes
1 answer
132 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?...
SoMe's user avatar
  • 1

15 30 50 per page
1
2 3 4 5