Questions tagged [docker]
Docker - An open platform for distributed applications for developers and sysadmins.
1,918
questions
250
votes
15
answers
480k
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 ...
217
votes
6
answers
421k
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 &...
165
votes
4
answers
106k
views
What's the difference between `docker stop` and `docker kill`?
What's the difference between docker stop and docker kill?
As far as I know, both will stop a running container. Is it that docker stop attempts to stop the process run inside the container in the ...
131
votes
8
answers
213k
views
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 ...
105
votes
3
answers
100k
views
Docker containers have their own kernel or not?
I see that a lot of docker images in the docker repository are made with an Ubuntu base.
What does that mean? Does each container bundle a stripped down version of the Linux kernel?
Do containers ...
95
votes
4
answers
172k
views
Docker on Hyper-V vs WSL 2
I'm using Docker Toolbox, recently I got to know about the Docker installation using WSL 2.
What are the differences between Hyper-V and WSL 2? Which has better performance?
82
votes
4
answers
73k
views
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....
82
votes
4
answers
187k
views
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 ...
81
votes
6
answers
94k
views
What's the difference between docker.io and docker?
Trying to learn docker here but I am a bit confused on what the difference is between docker.io and docker. Is docker.io the daemon server and docker the client? Why does the daemon need to run all ...
67
votes
3
answers
59k
views
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 ...
64
votes
1
answer
79k
views
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 ...
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 ...
42
votes
3
answers
165k
views
Docker WSL 2 installation is incomplete
After substituting Docker Desktop on Windows 10 with a more recent version, clicked to start it and got the following error
WSL 2 installation is incomplete
The WSL 2 Linux kernel is now installed ...
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:...
39
votes
5
answers
59k
views
How solve permission problems for docker in ubuntu?
I have installed docker as described here. I use Ubuntu Trusty 14.04 (LTS) (64-bit). Everything during installation was well. Also command $ sudo docker run -i -t ubuntu /bin/bash completes well (...