Skip to main content

Questions tagged [docker]

Docker - An open platform for distributed applications for developers and sysadmins.

27 votes
4 answers
44k views

How to install Windows 10 Home 19018 update?

I'm using windows home edition, I have the latest update installed 1909. I want to install docker for windows 10 home edition. It keeps saying Docker Desktop requires Windows 10 Pro/Enterprise (...
Lynob's user avatar
  • 5,450
250 votes
15 answers
481k views

How can I reduce the consumption of the `vmmem` process?

I installed docker on windows home which uses WSL2 as a backend. However, since doing this a process called vmmem seems to be consistently consuming a lot of computational resources. I ran docker stop ...
CiaranWelsh's user avatar
  • 3,266
36 votes
9 answers
146k views

How to remove all the vEthernet (Default Switch) once and for all?

As in the screenshot above, I don't know why the vEthernet (Default Switch) on my Windows 10 laptop keeps reproducing itself and auto connecting to it everytime I shut down and switch on the laptop. ...
compski's user avatar
  • 757
9 votes
1 answer
9k views

Emulating microphone input to Chrome inside Docker container

Background I am trying to control the input to a WebRTC web application running on Chrome, controlled by Selenium, inside a Docker container. This is part of an automated test of the WebRTC ...
Nameless Voice's user avatar
217 votes
6 answers
422k views

How to install a specific package version in Alpine?

I have a Dockerfile to build a Docker image that is based on Alpine Linux. Now I need to install a package as part of this Dockerfile. Currently I have: RUN apk update && \ apk upgrade &...
Golo Roden's user avatar
  • 2,479
40 votes
6 answers
159k views

No internet connection inside Docker containers

I cannot execute any command requiring internet connection inside any Docker container. Works: docker run ubuntu /bin/echo 'Hello world' Does not work: docker run ubuntu apt-get update Err:1 http:...
Sashko Lykhenko's user avatar
23 votes
2 answers
9k views

Are Windows WSL2 "distributions" just docker containers under the hood?

I found this document on github: WSL2 Distributions Run As Containers It hasn't been updated in a while though, so I'm wondering if anyone knows whether or not Microsoft has published a technical ...
StackExchanger's user avatar
17 votes
3 answers
16k views

Installing docker-ce in Ubuntu 18.04 breaks internet connectivity of host

I've installed docker on a fresh ubuntu desktop 18.04 machine and I lost internet connection in the host immediately after the installation finished. More specifically, I can ping 8.8.8.8 but I can't ...
bluesmonk's user avatar
  • 281
63 votes
2 answers
45k views

Why is the Alpine Docker image over 50% slower than the Ubuntu image?

I noticed that my Python application is much slower when running it on python:2-alpine3.6 than running it without Docker on Ubuntu. I came up with two small benchmark commands and there's a huge ...
Underyx's user avatar
  • 951
31 votes
1 answer
72k views

How to install docker on windows 7 machine?

My OS is supporting windows 7 and i need to install docker for my hyperledger project. Apparently, docker is available for windows 10. What should i do in this case, because upgrading my OS version is ...
Rahul Sharma's user avatar
19 votes
3 answers
60k views

Docker / Windows Container: how to mount a host folder as data volume on Windows 2016

How to mount a volume from Windows host to Windows guest system? I am on Windows Server 2016 TP4 using Docker. Following the documentation on https://docs.docker.com/engine/userguide/containers/...
Mathias Conradt's user avatar
19 votes
1 answer
16k views

Nginx serves site even if server_name does not match

This is my nginx configuration (running as docker container, in case it matters): events { worker_connections 4096; ## Default: 1024 } http { server { server_name registry.mydomain; ...
blueFast's user avatar
  • 2,736
18 votes
7 answers
27k views

Issue with Wifi Adapter with Docker Windows (Native, HYPER-V)

I just received a brand new work laptop and immediately installed the native version of Docker for Windows. However I am seeing an issue that everytime the new network adapter for Docker via Hyper-V ...
UsainBloot's user avatar
16 votes
2 answers
22k views

Is there any reason to use Puppet alongside with Docker? [closed]

I have tried Ops part of DevOps some time ago and it was quite fun, but I haven't time and reason to try it in any project. But last week I started new job, where boss asked me if I can configure ...
Hauleth's user avatar
  • 352
13 votes
2 answers
10k views

How should systemd-resolved and docker interact?

This section specifies that a Docker container gets a copy of the host's /etc/resolv.conf. However, when i run a simple container on Fedora 34, i get a different result: $ cat /etc/resolv.conf # This ...
yakom's user avatar
  • 195
10 votes
3 answers
19k views

Docker Toolbox: Doesn't have VT-X/AMD-v even if it is enabled [duplicate]

Tried running Docker Toolbox on my Windows 10 Home 64-bit machine. also, Hyper-V is already enabled! But when running the Docker Quickstart Terminal, it always shows "This computer doesn't have ...
anonymous_matt277's user avatar
7 votes
2 answers
15k views

Running jdk 8 in docker suddenly broken on arch linux with "unable to allocate file descriptor table - out of memory"

I am trying to restart my docker containers after upgrading my system yesterday. I am running an sbt (scala build tool) container. Unfortunately, it stopped working with the following error library ...
pascalwhoop's user avatar
6 votes
1 answer
15k views

docker containers cannot reach internet in bridge network mode

TL;DR How can I fix the bridge docker0 to be able to reach internet from my containers when in network mode bridge? There was a power outage a couple of weeks ago that apparently destroyed a server ...
albertoperdomo2's user avatar
6 votes
1 answer
6k views

How to properly handle a Docker container as a systemd service?

I handle many services (databases, web servers...) implemented by docker containers via systemd units. It works, but the system takes a very long time to shut down, apparently waiting for docker ...
berty's user avatar
  • 93
5 votes
2 answers
4k views

SSH reverse tunnel into Docker container

I need to xdebug something that fails on the server in a docker container and from my laptop I have ran ssh -R 9000:localhost:9000 server and verified the tunnel by telnet localhost 9000. So far so ...
chx's user avatar
  • 3,923
5 votes
4 answers
10k views

Enable Virtualization for Windows 10 Pro running inside VirtualBox

My ultimate goal is to run docker for windows inside a Windows 10 Pro (evaluation). To do that, Downloaded Windows 10 Pro evaluation image from Microsft website, Mounted it with virtual box ...
guilhermecgs's user avatar
5 votes
1 answer
771 views

In a WSL2 distro - what determines the files that appear under: /wsl/{some-other-distro}

The Context I understand that docker-desktop's WSL2 backend works by creating 2 distros: docker-desktop & docker-desktop-data. I can see the filesystems of these distros mounted in my Ubuntu WSL2 ...
Grant's user avatar
  • 53
4 votes
1 answer
8k views

Is there a way to avoid "Guru Meditation" when doing docker pull?

I have Win 7 32-bit, Vagrant + Virtualbox. I spin up a Ubuntu 14.04 VM (4cpu and 1.5G RAM) and install docker. Then, I execute a docker pull jenkins RAM use on the VM zooms to nearly 100%, and ...
CAB's user avatar
  • 485
4 votes
1 answer
6k views

Docker unable to pull images

On running the docker command, I get following error: docker run hello-world Pulling repository docker.io/library/hello-world docker: Network timed out while trying to connect to https://index....
suuser's user avatar
  • 157
3 votes
1 answer
1k views

Network adapter in Hyper-V keeps being reset to DockerNAT

I've installed Docker for Windows on my Windows 10 machine, which uses Hyper-V. Its default network adapter (virtual switch) is DockerNAT, an internal network. If I shut down the VM (the default ...
SQB's user avatar
  • 703
3 votes
1 answer
7k views

Why would `dig` succeed, but `host`, `nslookup`, `curl`, `ping` all fail?

Since today, whenever I use any docker container with the bridge network interface, DNS resolutions seem to fail for certain utilities. For instance, if I run: sudo docker run --rm \ --cap-add=...
balupton's user avatar
  • 495
3 votes
1 answer
2k views

Run both Docker and Virtualbox on Linux? Or Docker within VM?

Short version: I think I messed up wanting to run both Docker and Virtualbox on Linux at the same time and I'm thinking I should I migrate my docker setup into its own virtual machine? System Summary (...
C-BoT-AU's user avatar
2 votes
1 answer
903 views

Cannot get docker-machine to start using launchctl on OSX

I am trying to start docker-machine using a launchctl. I have install docker-machine using the docker toolbox. Here is my plist file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist ...
Michael Barton's user avatar
2 votes
0 answers
371 views

Docker Remote Containers - Remote Access Issue (Mac M1 -> Windows WSL 2)

I have successfully setup remote access to my Windows 10 machine running openSSH Server (using public key authentication). I am also running Docker Desktop on my Windows machine. I would like to ...
Phil's user avatar
  • 153
2 votes
1 answer
5k views

Cannot Enable Hyper-V on my machine

I'm trying to enable Hyper-V on my machine in order to use Docker. I've tried letting Docker enable it, using Windows Features to enable it, and using Powershell (as administrator). My system is ...
ssmith's user avatar
  • 151

15 30 50 per page