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 difference visible between the two operating systems, both when I’m running them on an Ubuntu server, and when I’m using Docker for … Read more

How to make a symlinked folder appear as a normal folder

I have two Dart applications I need to dockerize. These two apps use a shared source directory. Because Docker prevents adding files from folders outside the context directory (project/app1) I can’t add files from ../shared nor from shared (the symlink inside projects/app1). I’m looking for a way to trick Docker to do it anyway. My … Read more

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 $(docker ps -aq) to kill all running containers (there were 12 – oops) which has improved the issue significantly. However, even … Read more

Remove docker0 bridge

I’m using docker via # service docker start This creates a docker0 bridge. However using # service docker stop doesn’t remove this bridge. How do I get rid of it? I’m not sure if I missed something here. Answer Just delete it: ip link del docker0 (The old way, specific to bridges: brctl delbr docker0) … Read more

docker-compose up/down just one container

I have not been able to find a way to up/down just one container in a docker-compose.yml file. I can off-course start and stop a single container, but I cannot make changes to a containers configuration between restarts (environment variables, mount points etc.) What am I missing here? What is the best practice in this … Read more

Problems installing ping in docker

I am trying to follow the docker tutorial but in a virtual machine. I’ve tried to install ping in ubuntu docker container with the command sudo docker run ubuntu apt-get install ping The problem is that docker doesn’t install anything and gives the answer as follows $ sudo docker run ubuntu apt-get install ping Reading … Read more

Issue with fetching http://deb.debian.org/debian/dists/jessie-updates/InRelease with docker

Im trying to run the command docker-compose build I get this output: Step 4/8 : RUN apt-get update && apt-get install -y google-chrome-stable —> Running in ee9551cd38b9 Ign http://dl.google.com stable InRelease Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB] ….. Get:9 http://deb.debian.org jessie/main amd64 Packages [9098 kB] W: Fetched 10.1 MB in 6s (1519 kB/s) Failed to … Read more