New answers tagged

2 votes
Accepted

Interface between applications running inside and outside a docker container

There are two very obvious interfaces between a Docker Container and the host that you should probably explore further: Published ports Bind mounts (persistent storage) Published ports One option ...
Artur Meinild's user avatar
-1 votes
Accepted

.docker folder in home dir is too large

The thing is I may have myself specified that much pre-occupied space for docker during setting it up. Go to Docker Desktop > Settings > Resources and adjust the storage according to your needs.
mr.loop's user avatar
  • 167
0 votes

How to run a docker-compose as a systemd service?

If you use restart: always in your docker compose file (which is fairly typical), then the docker daemon will automatically restart the container when the daemon itself starts up -- which means that ...
Miral's user avatar
  • 101
2 votes

.sh file execution: permission denied exit code 126

The bash manual explains it: If a command is not found, the child process created to execute it returns a status of 127. If a command is found but is not executable, the return status is 126. You ...
Rinzwind's user avatar
  • 299k
1 vote

Docker-compose giving 'ContainerConfig' errors after update today

..and if, like me, you were calling docker-compose via ansible then you'll need to upgrade community.docker.docker_compose: to community.docker.docker_compose_v2: and possibly make some other changes ...
Jon Wilson's user avatar
0 votes

Docker-compose giving 'ContainerConfig' errors after update today

Sometimes you got this because you have running containers. I got this error once with my ansible playbook and this works for me. - name: stopping existing container shell: chdir: &...
thierry14's user avatar
14 votes
Accepted

Docker-compose giving 'ContainerConfig' errors after update today

Same here. After changing from docker-compose to docker compose it works with no other changes. Now, my containers are running with: docker compose up -d instead of: docker-compose up -d This is ...
DGIR's user avatar
  • 156
1 vote

Docker-compose giving 'ContainerConfig' errors after update today

I ran into the same problem today. docker-compose down It worked for me
Константин's user avatar
0 votes

Failed Docker installation attempts: Couldn't not run the the docker installtion .deb file

I tried this and it fixed it: sudo apt --fix-broken install Then the docker install worked after that: sudo apt-get install ./docker-desktop-<version>-<arch>.deb
Don Lafont's user avatar
0 votes

getting error while creating kubernetes repositories

Regrettably, Linux packages for versions earlier than v1.24 are not accessible in the updated Kubernetes package repositories (pkgs.k8s.io). Nonetheless, it's possible to install the necessary ...
Sergey Palyukh's user avatar
-1 votes

Docker: How to know what version of Ubuntu 22.04 is referred to an Index Digest?

Welcome to the ask Ubuntu forum. I'm not sure I'm understanding your question, but this may be a simple solution. From Terminal: lsb_release -a This will give a description, release number, and the ...
musicman1979's user avatar
  • 1,139
2 votes

Docker container fails to answer respond to HTTP request from host machine

The error is in your script for building the container, when you run: docker run -d --name demowebsiteapi \ -v $DATA_FOLDER:/data/ -p 127.0.0.1:8001:8001 \ --restart unless-stopped --ipc=host ...
Artur Meinild's user avatar
2 votes

Docker volume binding not working on Ubuntu Server 22.04 LTS

I found a solution. The problem lies somewhere in the Snap installation of Docker. Removing the Snap version of Docker and installing it based on the information from the official Docker page solved ...
Radek's user avatar
  • 131
0 votes

How to add a daemon.json file in docker ubuntu?

often the file does not exist and you will need to create it. In recent docker versions it contains just the following { "log-level": "error" } To create it, you may ...
helius's user avatar
  • 36
0 votes
Accepted

Docker Relocate to external USB SSD Problem

I resolved my issue. The problem was that storage-driver=overlay2 was not compatible with the NTFS file system. I re-formatted my flash drive to be ext4 and this resolved my issue. I hope someone can ...
user5265160's user avatar
0 votes

getting error while creating kubernetes repositories

Both answers already posted give different parts of the puzzle and are helpful. But neither addresses another category of errors you are getting, the "is configured multiple times" errors. ...
Organic Marble's user avatar
1 vote

getting error while creating kubernetes repositories

The legacy repositories (apt.kubernetes.io and yum.kubernetes.io) are deprecated. We don't have a way to fix this for these legacy repositories. Instead, we strongly recommend migrating to the new ...
user235989's user avatar
2 votes

getting error while creating kubernetes repositories

A repository has to have a specific structure to work with apt. One part of this structure is a file named Release. In your case, at least this file is missing from the repository in question: E: The ...
Henning Kockerbeck's user avatar
0 votes

Ubuntu 22.04 Docker Desktop 4.12 stuck at running

Also encountered this problem recently. Just copy&paste the official instructions here in case the website changes and someone needs that specific solution. The kvm module should load ...
Klinoklaz's user avatar
0 votes

"Cannot connect to the Docker daemon ...." when running docker on Ubuntu/WSL

This fix worked for me : Run sudo update-alternatives --config iptables Enter 1 to select iptables-legacy Run sudo service docker to start Docker
eliarms's user avatar
  • 101
0 votes

How to know the difference between the distributed Ubuntu image and Docker Ubuntu image

As somebody who is just learning Docker, I will tell you than an official image will not have any changes aside from those required to run it in the Docker container. I read the description of the ...
dsb9938's user avatar
  • 31
0 votes

How to fix docker container autocompletion

In my case, I had to enable programmable completion features in .~/.bashrc (or add in the very bottom) # enable programmable completion features (you don't need to enable # this, if it's already ...
snn1024a's user avatar

Top 50 recent answers are included