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,261
questions
1
vote
0
answers
157
views
Errors during install GNOME Desktop in ubuntu Docker container, remote control with XRDP!
I have tried the several steps and several times to build a Docker image for Ubuntu Desktop in container.
My steps are as follows:
Using the official Docker image of ubuntu:
docker run -tid --name ...
0
votes
2
answers
228
views
sudo apt update got 404 at GCP Compute Engine VM
I'm installing Docker in a GCP Compute Engine VM, but I have some obstacles.
This is my first time doing this, can anyone help.
fdtigermaster@fdtigermaster-dev-gcp-test:~$ sudo apt-get update
Hit:1 ...
0
votes
1
answer
502
views
Docker Desktop Linux crashing & KVM not loading
I have installed Docker Desktop Linux on Ubuntu 22.04.3 LTS. After I start it and wait for some seconds, it throws this error:
Something went wrong
Waiting for qemu process: exit status 1
I assume ...
0
votes
0
answers
135
views
sudo apt-get update shows this messages...Unit packagekit.service not found
Failed to start esm-cache.service: Unit sysinit.target not found.
Get:1 file:/var/cudnn-local-repo-ubuntu2004-8.9.4.25 InRelease [1,572 B]
Get:1 file:/var/cudnn-local-repo-ubuntu2004-8.9.4.25 ...
0
votes
0
answers
48
views
Docker Desktop - VM doesn't start due to "[FAIL] DD0017: can a VM be started? vm has not started"
I have a problem with Docker Desktop - it stopped working when I tried to move Docker.raw file location with Docker Desktop GUI.
The processes of Docker Desktop start, but there's no UI, Docker ...
1
vote
1
answer
538
views
Dockerized pi-hole on ubuntu makes the connection unusable, is it expected?
In order to use pi-hole in a container on Ubuntu 22.04.3 LTS I first download
docker pull pihole/pihole
then I free up some ports
sudo systemctl disable systemd-resolved.service && sudo ...
0
votes
0
answers
52
views
Issue with Sound Configuration in Ubuntu Docker Container on Google Cloud
I'm currently experiencing issues configuring sound within a Docker container on Google Cloud. I'm attempting to run a containerized environment with sound capabilities using the snd-aloop kernel ...
0
votes
1
answer
489
views
Docker directory problem running Frigate
I'm a newbie trying to install and run Frigate. When trying the docker run command, it loads for a bit, then produces a "file not found" error message when preparing gotrtc config.
In my ...
0
votes
1
answer
82
views
What is the correct approach to upgrade Docker when a gpg file is involved?
After to did do an upgrade through VirtualBox for Ubuntu Desktop 20.04 to 22.04 - focal to jammy - at the /etc/apt/sources.list.d directory exists the mysql.list file.
According with a research was ...
0
votes
0
answers
47
views
Docker + audio in ubuntu server
I'm trying to get ghcr.io/synesthesiam/homeassistant-satellite to work on a docker container on my ubuntu server. I got it to work, but it frequently stops workign and give me the following error:
...
0
votes
0
answers
96
views
Docker start returns OCI runtime error - runc version mismatch
I am seeing a weird error on Ubuntu 20.04 when I run the docker using docker run --name <container_id>.
docker.errors.APIError: 500 Server Error: Internal Server Error
("failed to create ...
0
votes
2
answers
238
views
Supported docker packages - docker.io
Is there an official docker package supported by Ubuntu 22.04 LTS, docker.io? Should I go to Docker for the ee version?
Thanks,
0
votes
0
answers
67
views
Can't start Docker-Desktop when remoting into Ubuntu machine
I run Ubuntu 22.04 on a machine that I remote into via RDP on my Windows machine. Remote connection is enabled on the Ubuntu machine via the built-in remote desktop sharing feature.
I have Docker-...
0
votes
0
answers
105
views
Issue in nvidia-smi version and docker cuda ref in ubuntu 20.04
The issue in Ubuntu 20.04:
Issue in Cuda Version: ERR!
Issue in Cuda ref in Docker like:
cudaloader gstcudaloader.c:169:gst_cuda_load_library: Could not open library libcuda.so.1, libcuda.so.1: ...
0
votes
0
answers
46
views
KDE freezes when launching a lot of dockers after updating from Kubuntu 23.04 to 23.10
After updating from 23.04 to 23.10 I keep getting KDE taskbar/window switcher freezes when launching a lot of dockers. At first I have been getting a lot of new networks notifications that were ...
0
votes
0
answers
557
views
Problem connecting to PostgresSql from Docker container
I have two Ubuntu Servers 20.04 with an external IP of 185.253.74.227
The first server has a local IP 192.168.1.30 on which I have nginx running and I host my Docker containers on it.
The second ...
0
votes
0
answers
141
views
arm used ubuntu:23.10, docker build faild, start container with --privileged ok
build image base ubuntu:23.10 error
W: GPG error: http://ports.ubuntu.com/ubuntu-ports mantic InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/...
0
votes
1
answer
1k
views
Unable to find image 'nvidia/cuda:11.0-base' locally when testing nvidia-docker2 setup
I am following the official NVIDIA instructions for installing nvidia-docker2. I get this error.
(base) mona@ada:~/clean-pvnet/docker$ curl https://get.docker.com | sh \
&& sudo systemctl --...
3
votes
1
answer
399
views
Bash alias for removing docker images does not use force flag
Currently I have an alias to force remove images, the command is something like:
docker rmi $(docker images | grep pattern | grep -v other_pattern | tr -s ' ' | cut -d ' ' -f 3) -f
Within my ~/....
1
vote
1
answer
174
views
Can access self-hosted Portainer website from internet trying to lock server down without any luck
I'm new to Docker & Portainer and I'm trying to lock it down from public access where it's not needed.
My setup:
Windows 2022 Server running Hyper-V (host)
Ubuntu 22.04 Workstation (virtual ...
0
votes
0
answers
2k
views
Docker failed to compute cache key
I try to run docker in my spring boot, and when i add Dockerfile at the directory booting-web/ and put some code like this :
FROM maven:3.6.3-openjdk-17-slim as BUILDER
ARG VERSION=0.0.1-SNAPSHOT
...
0
votes
0
answers
51
views
GlusterFS help on setting up or a alternative option
I currently have a mergerFS mount set up with 3 disks, but want to add a way for another server so i can use docker swarm and have both hosts with the same data and setup. All I could find was rsync ...
3
votes
2
answers
2k
views
KVM. kvm-ok not found error
Ubuntu 22.04
I'm trying to set up KVM by following this guide https://help.ubuntu.com/community/KVM/Installation and unfortunately Im getting the following error when I run kvm-ok
Command 'kvm-ok' not ...
0
votes
0
answers
122
views
Virtualisation Error - Docker but Nested VT-x is enabled
I have been trying to install Docker Desktop following all the steps from installing Docker hub to then installing Docker Desktop. I even got the final error of
N: Download is performed unsandboxed ...
0
votes
0
answers
49
views
Docker and Nginx - thoroughly confused at his point
I'm new to Ubuntu and Docker. I've installed Ubuntu 22.04 Workstation (basic installation) on a public virtual machine. I can access it via ssh and I have my domain pointed at the server's ip address....
1
vote
0
answers
912
views
ppa ubuntu-toolchain-r unable to locate package g++13
I am trying to add a newer gcc toolchain to my docker image (based upon ubuntu:20.04).
I am following the steps from this article.
In the docker's bash I run:
add-apt-repository ppa:ubuntu-toolchain-r/...
2
votes
0
answers
624
views
Docker daemon timeout on DNS requests
I am running 350 containers, however they are having dns timeout issues.
The below logs are being observed in the docker.service
Oct 20 22:18:54 node1 dockerd[22149]: time="2023-10-20T22:18:54....
0
votes
0
answers
129
views
Restrict access to Docker container port to ip adresses
There are several docker containers on my server, exposing ports. Now I try to restrict the access to the ports to IP-Adresses being able to insert rules without allowing the policy. I apply IP-Tables ...
0
votes
1
answer
263
views
How do I add a user to a group in Ubuntu Server Autoinstall?
I'm trying to configure docker in my Ubuntu server autoinstaller.
Most everything has worked as expected, but I cannot figure out how to get my user to be added to docker group as a part of this ...
1
vote
0
answers
1k
views
How to install missing libssl.so.1.1 in docker?
There are lots of problems asked about libssl but seems no one matches mine, so I raised a new question.
I'm trying to deploy my python api project on docker, but when I created the container and run ...
0
votes
0
answers
119
views
sudo apt-get update problem (docker on Vagrant) [duplicate]
Get:1 https://download.docker.com/linux/ubuntu jammy InRelease [48.9 kB]
Ign:2 https://dowload.docker.com/linux/ubuntu jammy InRelease
Err:1 https://download.docker.com/linux/ubuntu jammy InRelease
...
-1
votes
1
answer
2k
views
Why running docker-compose on ubuntu I got Permission denied error?
I have installed fresh kubuntu 22.04 on my laptop and when I try to install docker
I have installed docker-ce and docker-compose :
root@serge-at-home:/mnt/_work_sdb8/wwwroot/lar/MngProducts# dpkg -s ...
0
votes
0
answers
54
views
How to add microphone access to containers for multiple clients?
I’m running into a frustrating problem. I installed an ubuntu version 20.04 and installed Docker on it
I started a container named linuxserver/firefox on Docker.
I tried to set up the microphone for ...
0
votes
1
answer
2k
views
Docker 24.0.5 on Ubuntu 22.04 (using Ubuntu repositories, not Docker Official PPA repo)
I've installed docker today (10th of October) using below command:
sudo apt install docker-buildx
(latest version 0.11.2-0ubuntu1~22.04.1)
It installed among others docker.io package. I see that ...
0
votes
0
answers
88
views
SD card sometimes mounted as readonly on Ubuntu 22.04, mount used in a docker container
On a Ubuntu 22.04 system a card reader is connected to a USB port. Since it's necessary to access the card reader in a Docker container, the volume is configured as follows in a docker-compose.yml ...
3
votes
2
answers
19k
views
ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount3491017035/Dockerfile: no such file or directory
I've spent about 3 hours trying to find an answer to this. Any help would be greatly appreciated.
I am new to all of this.
According to the book I bought, I used "Visual Studio Code" to make ...
0
votes
0
answers
65
views
make user persistent on docker
Is there any way to user created in a container when i recreate a container?
I'm using Ubuntu image to create a container to ssh into to modify a few file.
I don't wan't to use the root user to ssh so ...
0
votes
0
answers
197
views
Ubuntu VM with Cups Server and docker container with pycups: cups.IPPError: (1030, 'The printer or class does not exist.')
I have an Ubuntu VM with the cups server installed, configured and running.
I can print to every printer from the web interface with no problems.
Inside this VM there is a docker container with a ...
0
votes
1
answer
126
views
Docker build can't reach the internet
when I run docker build -t test . it gives me error connection time out, how can I solve this issue, please? I am using Ubuntu 22.04.3
[connection time out][1]
0
votes
0
answers
128
views
How to add math library for gcc in docker Image?
I am trying to containerize LuaJIT, a derivative of Ubuntu image. I've installed build-essentials and I am getting the below compiler error saying that I am missing math library. There is already -lm ...
1
vote
0
answers
294
views
Unable to build multi architecture docker image
I want to built a docker image on my Intel laptop. The image will be deployed on both x86/x64 and arm64 hosts. The docker file uses ubuntu:20.04 base image. I tried building the image with following ...
4
votes
1
answer
2k
views
Cannot run docker container with --gpu all
I am trying to run a docker container with option --gpu all.
It give me the error:
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable ...
0
votes
0
answers
454
views
How to get the zombie reaping process worked
My system is Windows 10 Home and I am running my Docker container in Docker Desktop's 4.23.0 version. When I run my container I am getting this
File "/home/catkin_ws/src/CMakeLists.txt" ...
0
votes
0
answers
56
views
Automatically created iptables rules created by Docker seem strange
Here are the rules that I don't understand (those are created automatically by docker on my ubuntu machine):
-A FORWARD -i docker0 ! -o docker0 -j ACCEPT
-A FORWARD -i docker0 -o docker0 -j ACCEPT
So ...
0
votes
0
answers
188
views
Unable to set Nvidia GPU Fan Speeds
I am trying to set the Nvidia GPU fan speeds from inside a Ubuntu-based Docker container on a machine with Nvidia RTX 3090. To conserve GPU VRAM, X server is not running.
How can the GPU fan speeds be ...
0
votes
0
answers
87
views
Docker container unable to write to removable drive
I currently am running Ubuntu Jammy and have a docker container that needs to write to two external drives that were automatically mounted to /media/MYUSER/MYDRIVE while both are mounted correctly and ...
0
votes
0
answers
124
views
.deb package not found in Docker container, even when installing from within the container
I want to install the globalprotect VPN client in an Ubuntu docker image. I have downloaded the deb files, and have manged to successfully install it on the host (also Ubuntu) like so:
sudo apt ...
3
votes
0
answers
3k
views
KVM is not enabled in host Error required compatibility check Virtualization Support
I'm using Ubuntu 22.04.3-amd64 in an Oracle VM. I followed the instructions in Install Docker Engine on Ubuntu and ran the command:
sudo apt install ./docker-desktop-4.22.1-amd64.deb
Everything ...
0
votes
0
answers
47
views
Transfering nextcloud data of docker volume to another server while usergroup does not exists
I'm currently preparing a migration from my Raspberry Pi with Ubuntu 22.04.03 LTS 64x
to an x86 based server.
In that process, I want to copy all of my Nextcloud data. While investigating the file ...
1
vote
0
answers
231
views
Unmet Dependencies Issue: Missing Packages for QEMU and Docker Installation
I am currently facing an issue with installing certain packages on my Ubuntu system. I am attempting to install QEMU for virtualization and Docker for containerization. However, I am encountering ...