Skip to main content

Questions tagged [docker]

Docker is a container engine for developing, managing, and running OCI containers for applications. Use this tag for questions on how to build and run container images, as well as how to properly configure Docker containers.

-1 votes
1 answer
27 views

How to run docker compose from sudo crontab?

So, I have a very simple problem: I am running a minecraft network via Docker compose. That compose file is stored in a folder on my user desktop, so it is ./Desktop/.../docker-compose.yaml when I ...
nickycom's user avatar
0 votes
0 answers
28 views

docker build requires sudo

I have a docker compose project for which I am building containers frequently. I've read the docker post-install instructions and followed all these steps, and for commands like docker ps and docker ...
cdyswnnr's user avatar
1 vote
1 answer
27 views

"Err:6", "W:", "E:" and "N:" messages after "sudo apt update" [duplicate]

I tried uninstall Docker and VS code from my Ubuntu 23.04 OS in my dual boot computer. The other OS in my dual boot computer is Windows 11 (This was the first OS of my computer prior to getting dual ...
Viv's user avatar
  • 11
0 votes
1 answer
67 views

Mounts denied in Docker on Ubuntu

I am using docker-compose up -d --build to create an image of a django project on Ubuntu 20.04. I created Dockerfile and docker-compose.yml. I was faced with an error while building it: ✔ Container ...
Shokouh Dareshiri's user avatar
0 votes
0 answers
104 views

Ubuntu on Docker: "Err:1 http://security.ubuntu.com/ubuntu noble-security InRelease the public key is not available: NO_PUBKEY 871920D1991BC93C" [duplicate]

Steps to reproduce: Download macOS docker from https://download.docker.com/mac/static/stable/x86_64/docker-20.10.16.tgz Extract the file. Execute the following command: ~/Downloads/docker/docker ...
dsin's user avatar
  • 1
0 votes
0 answers
20 views

docker build /lib/modules/6.2.0-25-generic/build/scripts

I tried to install a package inside a docker container but ran into this error. I have tried to cpy kernal file into this directory but still have the same problem. Does anyone know how to solve this? ...
yyln's user avatar
  • 1
0 votes
0 answers
23 views

Docker making endless copies of data

So I was trying to build a docker container, and I noticed that when running a WORKDIR instruction (which is supposed to change the working directory) it is taking ages (500+ seconds) and creating ~...
Pauel3312's user avatar
0 votes
0 answers
64 views

On docker ubuntu:oracular, GPG error: following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C

when I did apt-get update -y I got the following errors W: GPG error: http://security.ubuntu.com/ubuntu oracular-security InRelease: The following signatures couldn't be verified because the public ...
dsin's user avatar
  • 1
-1 votes
1 answer
38 views

What's causing the memory to blow up?

I just pull a docker image, and it is just a small file. And /dev/nvme0n1p5 uses about 100GB. So What's the problem? How to solve it? Thanks
xs_william's user avatar
0 votes
0 answers
68 views

Timezone mismatch in Docker container using ubuntu:24.04 but not with ubuntu:22.04

I am experiencing a timezone error inside a Docker container using the ubuntu:24.04 base image. This issue does not occur when I use the ubuntu:22.04 base image. Here is a minimal reproducible example....
pip1726's user avatar
  • 151
1 vote
0 answers
51 views

How to automatically mount a removable USB device in a Docker Desktop Linux container

Problem: I want to run a Linux container via Docker Desktop, and have a removable device (e.g. USB stick) automatically mount within the container, when it's inserted. Up until now, I've been using ...
Andrew Fielden's user avatar
2 votes
1 answer
692 views

Where do UBUNTU_CODENAME and / or VERSION_CODENAME come from?

In these directions for installing the Docker Engine https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository, an example script is provided and beneath it the comment "If you ...
glaucon's user avatar
  • 233
0 votes
1 answer
326 views

Docker: Error response from daemon: could not select device driver "nvidia" with capabilities:

I am attempting to run various applications that are using a nvidia GPU from docker containers. I am running on a machine with the following configuration: /0/0 memory ...
Factor Three's user avatar
0 votes
1 answer
181 views

docker-compose not working on ubuntu 20.04

The docker-compose command not working on Ubuntu 20.04 latest using the Ansible task. It was working on 21 May but not working now. The command for reference [ Trying from ansible task ]: sudo SERVER={...
shivanshi garg's user avatar
0 votes
1 answer
291 views

How to ping Docker container from host and vice versa? Which network would be best to use?

I am new to networking but my target is to be able to ping a Docker container from the host and vice versa. I know there are different types of networking in Docker (bridge,host,macvlan, [two types of ...
NeoGenesis521's user avatar

15 30 50 per page
1
2 3 4 5
85