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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
564 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
-1 votes
1 answer
94 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
0 answers
59 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
119 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
2 votes
1 answer
58 views

How to mount host directory and modify its contents inside the Docker layer

Here are the docker layers I want to implement: https://stackoverflow.com/questions/31222377/what-are-docker-image-layers I want to mount a folder from host to docker with: docker run \ -v /path/to/...
stackbiz's user avatar
  • 383
-1 votes
1 answer
132 views

How to create the simplest Docker image of Ubuntu 22.04 from scratch on the Ubuntu 22.04 system

oky I used docker pull ubuntu, but I would like to know how Docker's Ubuntu image was created.
zhangqhai's user avatar
0 votes
0 answers
118 views

How to start docker desktop using command line on linux

Docker desktop is working fine, I would like to be able to start it using a command line because I wrote a bash script that start every software I need. There does not seem to be a docker-* command ...
vincenth's user avatar
  • 101
6 votes
3 answers
279 views

My disk is full and I don't know why

I have a proxmox VM with a Ubuntu server 22.04 instance running docker. System information tells me this Usage of /: 99.9% of 136.94GB And du confirms it for the /dev/sda2 ...
Diegonu's user avatar
  • 69
-1 votes
1 answer
92 views

Very poor docker build / compiling performance, 100% cpu by kworker/u48:3+flush-8:64

I recently found that my system was really slow when compiling large amount of code or more specifically when doing a docker compose build. When comparing with a college, the execution time of the ...
Infamous Jox's user avatar
0 votes
0 answers
37 views

issues with ubuntu 24.04 lte on old gigabyte motherboard

I have a ga-b85m-d3h motherboard with 24 GB RAM and i7 CPU. So far used Win10, bought a 1TB SSD, and decided to give ubuntu a try... Installed Ubuntu 24.04 LTE desktop on the SSD and facing several ...
Adrian Herscu's user avatar
8 votes
1 answer
631 views

Ubuntu 24.04 docker images now includes user ubuntu with UID/GID 1000?

Looks like the official docker images for Ubuntu 24.04 ship with a user named ubuntu. While the user name is largely immaterial, the choice of UID/GID 1000 for this default user is a bit disruptive, ...
ruffsl's user avatar
  • 183
1 vote
1 answer
37 views

Change network interface back to old naming convention - eth0

I am running docker-desktop and using docker compose for containers. I cannot create a ipvlan using the interface name enp2s0 docker compose expects eth0. How can I revert and persist the old naming ...
calm's user avatar
  • 11
1 vote
1 answer
75 views

Why has my ubuntu machine started turning off randomly?

I have been using a laptop as a home server for about 2 months. It is running docker with 6 containers, I primarily access it through ssh or portainer. For some reason about a week ago it started ...
Moksh Chitkara's user avatar
0 votes
0 answers
38 views

Cannot connect on port, but can ping

I am running an nginx server on docker in my Windows host using the command docker run --rm --name nginx -d -p 8080:80 nginx I am connected to a VirtualBox Ubuntu DHCP server using a bridged adapter. ...
Curtis_L's user avatar
-1 votes
1 answer
130 views

Assign static ip to an ubuntu image in docker

I currently have a test environment to implement a reverse proxy server, I have Docker Desktop installed on Windows 10, I have a test container running and in that container an Ubuntu 22.04.4 LTS ...
Soporte IT AnalizaHN's user avatar
0 votes
0 answers
16 views

Dual nic server with open client http port unreachable

I am setting up a poe switch connected to my ubuntu server 20.04. I am running an amd 5700 with some generic parts in a minipc that is being used as an nvr. I have a internet facing nic, eno1, where ...
Losthatter's user avatar
0 votes
0 answers
197 views

Force docker build to not verify TLS certs (WSL)

Running docker in WSL2 ubuntu image. I want to disable TLS verification for my docker build for testing purposes. How can I accomplish this? I tried the following: Adjust /etc/docker/dameon.json, ...
Dave's user avatar
  • 213
0 votes
0 answers
359 views

Error while installing systemd on base Ubuntu 24.04 docker image

I'm currently trying to port the base Docker image for my application from Ubuntu 22.04 to Ubuntu 24.04. But I'm having issues when trying to install the software-properties-common package. I was able ...
Eric Lacasse's user avatar
6 votes
4 answers
4k views

Ubuntu 24.04 Docker Desktop is not starting

I installed Ubuntu 24.04 LTS, and tried to install Docker Desktop following the instructions from the official site, but in the end, the first docker command can not be used if you did not use it with ...
mkdtemplar's user avatar
0 votes
1 answer
2k views

Docker build fails at RUN apt update ( ERROR: failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 100)

I'm trying to build a docker image from ros:humble-ros-base, on a Raspberry Pi4 with Ubuntu 22.04 installed. The first lines of the Dockerfile are FROM ros:humble-ros-base RUN apt update I get the ...
margueww's user avatar
0 votes
0 answers
45 views

Ports show as open when nmaping to localhost but filtered when connecting to IP

My 22.04.4 Ubuntu server was installed on a Proxmox VE. Then I installed Discourse forum on top of it (it uses Docker). Now, after successful installation the Docker's 443/80 ports show as closed when ...
Marek Wojtaszek's user avatar
0 votes
0 answers
80 views

Logging user commands

So I am working on this fun project and I've been trying to setup logging for user commands for the past 3 days but nothing seems to work. So for the starters I use Ubuntu 22.04 which runs inside of a ...
Richard Kello's user avatar
0 votes
0 answers
41 views

Struggling with OpenProject Setup: Docker vs. Deb Packages

I've been trying to set up OpenProject for my organization, but I've been encountering issues for a week now. I've attempted to run it in Docker containers and through Deb packages, following the ...
Wali Haider's user avatar
1 vote
0 answers
382 views

Ansible playbook and docker_compose task failing after updates

Would anyone be kind enough to help me? I'm continuing to have issues with this after an update. I'm running an ansible playbook with each service defined as a role and individual tasks bringing up ...
Dozzly's user avatar
  • 11
4 votes
2 answers
1k views

Problem with WSL-Ubuntu-20.04 on Windows: "Cannot connect to the Docker daemon" and "System has not been booted with systemd as init system (PID 1)."

I work on WSL on Windows. I downloaded Ubuntu 20.04 from the Microsoft Store. After running, I ran these commands: sudo apt update sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-...
Cierniostwor's user avatar
0 votes
0 answers
122 views

Pip install freeze inside python Docker image

Pip install freeze inside python Docker image. However on other Linux machine it launches right away. => [internal] load build definition from Dockerfile ...
AlterEGO's user avatar
0 votes
1 answer
109 views

Ubuntu Docker containers not retaining the history (After stop and start command)

I have recently started playing with containers but I have noticed an issue that the history does not persist after I stop and start the container (Note:- not build it). I also made a directory to ...
Mubeen's user avatar
  • 31
0 votes
0 answers
423 views

Locale DNS not resolving - timed out

After several hours of searching, unfortunately, I haven't been able to solve the following problem and hope someone can help me. On the Server is Ubuntu 22.04 with docker, which provide multiple ...
serior's user avatar
  • 1
0 votes
0 answers
39 views

Docker not allowing to run stop, kill or pause commands with or without sudo

I'm trying to restart a container from docker but whenever I try to stop it, kill it or pause it always tell me that permission is denied. However I've tried using the mentioned commands with sudo and ...
DinoDev's user avatar
-1 votes
1 answer
185 views

.docker folder in home dir is too large

Using Ubuntu 20.04, I had installed docker, docker-desktop and docker-compose a long time ago. Now, I wanted to clean up some storage in my pc and being identifying the large files, and found that ....
mr.loop's user avatar
  • 187
0 votes
1 answer
577 views

.sh file execution: permission denied exit code 126

i got an issue when running the Dockfile: here are the codes: COPY UpdateServer/FT.Ubuntu*x64*.sh /root/app/ # Where we are going to place the files we need WORKDIR /root/app # Execute the setup RUN ./...
Bin D's user avatar
  • 1
0 votes
1 answer
79 views

Interface between applications running inside and outside a docker container

I am running Ubuntu 20.04 and am using the Nvidia Riva Automatic Speech Recognition application to detect speech commands. I would like to direct/pipe them into another application to execute a ...
user5265160's user avatar
52 votes
5 answers
37k views

Docker-compose giving 'ContainerConfig' errors after update today

Running Ubuntu server 22.04.4 LTS. Today I did an apt update and apt upgrade which ran through a few updates, and then I pulled new docker images via docker-compose pull. After I tried to restart the ...
Matt's user avatar
  • 623
-1 votes
1 answer
74 views

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

I'm currently using the Ubuntu 22.04 Docker Image for work. I thought if I used a tag that would keep the Image constant until I noticed a month ago that the Ubuntu 22.04 image got updated. I noticed ...
RiaY's user avatar
  • 1
3 votes
1 answer
232 views

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

I want to deploy an API on a server (Ubuntu 18.04) with Docker (container: Ubuntu 22.04). I previously deployed the API with the same config on another server without any issue. While being built ...
Seglinglin's user avatar
1 vote
1 answer
216 views

Docker volume binding not working on Ubuntu Server 22.04 LTS

I've noticed problems with the configuration of Docker volumes binding on Ubuntu 22.04 LTS, installed from an ISO file downloaded from the official site: https://ubuntu.com/download/server. The ...
Radek's user avatar
  • 131
0 votes
1 answer
79 views

Docker Relocate to external USB SSD Problem

Ubuntu 20.04.5 LTS Docker version 24.0.2 I am trying to relocate the /var/lib/docker directory to my USB SSD flash drive to save memory on the internal storage, however, I am having difficulty doing ...
user5265160's user avatar
0 votes
0 answers
202 views

How to install 32-bit libraries on Ubuntu 20.04 container images?

I want to run a 32-bit program on Ubuntu 20.04, but the image I pulled from the hub is 64 bit. I have written the following dockerfile. cat Dockerfile #FROM ubuntu:latest #FROM ubuntu:20.04-i386 FROM ...
Vimer's user avatar
  • 1
0 votes
0 answers
49 views

docker ubuntu server LVM disk full?

First of all I am new to Ubuntu and Linux altogether. Some things that i describe below may not be correct and I might (probably) have done it incorrectly. I want to know how to set up the volumes and/...
chryxer's user avatar
-2 votes
4 answers
4k views

getting error while creating kubernetes repositories

welcome@SSPLLTIT018:~$ sudo apt update Hit:1 https://download.docker.com/linux/ubuntu focal InRelease Hit:2 https://packages.microsoft.com/repos/code stable InRelease ...
Himanshu Vaidya's user avatar
0 votes
1 answer
79 views

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

In the ubuntu docker image, it seems that some changes have been made to the docker image. For example, /etc/apt/apt.conf.d/docker-clean has been added. I believe these operations are included in the ...
impactaky's user avatar
0 votes
0 answers
192 views

Why the nginx docker container stopped by Systemd?

I encountered an issue today with the Nginx service running as a container on our Ubuntu 20.04.6 LTS server. The service was in a stopped state, and I had to restart it manually. I've attached a ...
Alakananda S's user avatar
0 votes
0 answers
3k views

"System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down" not WSL

When I install docker and try to run it, sudo systemctl start docker, it says it can't run as the title says.(Not WSL) So when I run it with the sudo service docker start command, it turns off again ...
pepperonipizza97's user avatar
0 votes
0 answers
50 views

Unable to install much after server instalation. "unable to find image"?

I have Ubuntu Server 22.0.4.3 LTS onto a USB drive. I installed it onto an oldish computer with one HDD (1tb). No problems with the installation. I can sign in and then.... sudo apt update sudo apt ...
Dave Gregson's user avatar
1 vote
0 answers
76 views

Error when running docker desktop from cronjob

I have a script that checks every minute if docker desktop is running. If it fails, it should launch docker desktop. My script works fine if I run from command line, but it fails when I run it by ...
KingKongFrog's user avatar
0 votes
0 answers
45 views

Support for go file watchers with directly mounted CIFS shares

I am currently working with cifs-utils to manage CIFS shares in a Unix environment, specifically within Docker containers (ubuntu docker host). I am exploring the possibility of integrating a file ...
Deeksha Sharma's user avatar
2 votes
1 answer
160 views

Cron not running script on boot

The main idea is to make my pc run a script on boot in wich x11docker takes care of lifting a container with a youtube video. this is mi crontab -e: @reboot /usr/local/sbin/script-exo.sh script im ...
ømen's user avatar
  • 21
0 votes
1 answer
968 views

KVM not supported shown in terminal while it is enabled

Can you let me know what I am doing wrong to install the KVM in Virtual Machine Ubuntu that I see the error of "CPU does not support KVM extensions"? I am running a Linux (Ubuntu 22.04.3 LTS)...
jarvis's user avatar
  • 11
0 votes
0 answers
285 views

Running docker daemon in i3

I recently switched from GNOME to i3 on my Ubuntu 22.04. I am having trouble running docker as a non-root user. If I run a docker command as-is, it'll give me a "Cannot connect error". $> ...
Ash Ketchum's user avatar
0 votes
0 answers
97 views

How to prevent Docker causing my .local address to resolve to 172.29.0.1?

I have a recently installed machine (called vader), with a custom DNS entry on my Pi-hole. This works, when I try to resolve vader.home: $ resolvectl query vader.home vader.home: 192.168.1.212 ...
Duncan Bayne's user avatar

1
2 3 4 5
26