Questions tagged [docker]
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.
1,017
questions
0
votes
0
answers
4
views
podman: OCI Runtime crun is in use by a container, but is not available (not in configuration file or not installed)
I'm not sure why I am getting this error:
$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b18ec89fc0ec docker....
0
votes
0
answers
23
views
system ip still getting detected after using iptables and redsocks
Here is my redsocks.conf
base {
log_debug = off;
log_info = on;
log = "syslog:daemon";
daemon = on;
user = redsocks;
group = redsocks;
redirector = iptables;
...
0
votes
2
answers
71
views
How to give docker-compose alias to the new docker compose (v2) command?
I noticed that docker-compose 1.x is gently being dropped in favor of the new v2:
https://www.docker.com/blog/announcing-compose-v2-general-availability/
So I then removed my docker-compose v1.x ...
1
vote
0
answers
19
views
Backup /var/lib/docker without the images?
I want to make a backup of all my containers and volumes, so the easiest way would be to copy /var/lib/docker to another location.
However this directory also includes all the images, and I don't want ...
0
votes
2
answers
433
views
Cannot install docker-desktop on ubuntu 22.04
I am trying to install docker-desktop from here
I downloaded the .deb package
with
sudo dpkg -i docker-desktop-4.8.1-amd64.deb
but I got a couple of missing dependicies problems
(Reading database ... ...
0
votes
1
answer
18
views
Determine creator of docker volume?
I have a lot of volumes in Docker that don't have an owner anymore. I'm really curious who keeps creating them, but I cannot figure it out. The volumes are empty inside, so I cannot determine it from ...
1
vote
1
answer
129
views
apt update on ubuntu:22.04 results in error 100 on some docker hosts
I have two bare-metal machines each running Ubuntu LTS 18.04 and docker --version reports 20.10.7 on both.
On each, I've pulled the latest image for ubuntu:22.04. Both report, verbatim:
$ docker pull ...
0
votes
1
answer
21
views
How to run Docker on an external USB hard-drive in Ubuntu 21.10?
I am trying to run the following command in Ubuntu 21.10 with Docker so that it will run on my external USB hard-drive:
sudo docker run -v /media/alexanderjsingleton/SEAGATE/blockchain -P registry....
0
votes
1
answer
28
views
Understanding what happens during apt-get update [duplicate]
apt-cache search jdk returns zero results before apt-get update but several results after the update although the update output makes no mention of jdk installs. I am trying to find what I am missing.
...
0
votes
1
answer
340
views
Installing docker, getting: `PreDepends: init-system-helpers (>= 1.54~) but 1.51 is to be installed`
So these are the install instructions for Docker
After you setup the GPG key and prerequisites it basically consists of:
Getting the (latest) .deb release from the releases page
sudo apt install ./...
0
votes
0
answers
22
views
In Ubuntu, execute make AMd64 in Dockers,"Command Not found, recipe for target 'kernel' failed" is displayed
INFO:onlpm:Requiring prerequisite package onlp:amd64...
INFO:onlpm:Rebuilding onl-upgrade:amd64...
INFO:onlpm:Requiring prerequisite package onl-kernel-3.16-lts-x86-64-all:amd64...
INFO:onlpm:...
0
votes
0
answers
67
views
Docker desktop app hangs "Docker Desktop starting..."
I've just installed docker desktop app for Debian. When I run it, the gui starts but it hangs with "Docker Desktop starting..." message.
Do you know what to do?
I didn't find a command with ...
0
votes
0
answers
53
views
Connection reset by peer error
I am trying to run tutor on Ubuntu 20.04 using the command
tutor local quickstart
I am getting thre following error
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gcc-10/gcc-10_10.2.1-...
0
votes
0
answers
30
views
rsyslog read log files and send to rsyslog file and rsyslogserver
Hi I need to send logs to rsyslog server in particular I need to send airflow logs and docker logs.
I am using rsyslog v8.2204.1 on Ubuntu 20.04.4 LTS.
For docker I installed the module: rsyslog-...
0
votes
0
answers
72
views
problem of apt-secure(8)
ubuntu@ubuntu-VirtualBox:~$ sudo apt-get update
[sudo] Mot de passe de ubuntu :
Atteint :1 http://ne.archive.ubuntu.com/ubuntu jammy InRelease ...
0
votes
0
answers
21
views
no ethernet after Docker
My ethernet connection did work before I used Docker for a job at work, but that's been over for a year now and I needed to get to my router ethernet port and couldn't.
ethernet does not seem to have ...
2
votes
0
answers
118
views
Ubuntu 22.04 Unable to run database via docker
Since I updated my Ubuntu version my Docker container mysql:8.0.23 is not able to successfully run anymore.
My Docker version is: 20.10.12
Docker Compose version is: v2.4.1
The problem itself is that ...
0
votes
0
answers
137
views
Cannot log in through phpmyadmin to mysql in my container
I'm trying to have one docker container with: ubuntu 20.04, on top of which I add apache, php, mysql and phpmyadmin (all on the same container)
What's installed:
mysql Ver 8.0.29-0ubuntu0.20.04.2 ...
1
vote
1
answer
85
views
Can I disable networkd-dispatcher log messages for Docker interfaces?
I'm using Docker 20.10.14 on Ubuntu 22.04 Server where I'm running a number of containers, and I'm using Watchtower to automatically update the containers.
Since I updated to Ubuntu 22.04, I've been ...
1
vote
0
answers
17
views
Why does writing to a PostgreSQL database (docker) shows some activity in the Network panel of the system monitor
A quick, yet simple question that came to my mind while observing my system monitor (I was curious on the RAM and CPU usage) while writing a massive data set to a PostgreSQL database hosted on my ...
0
votes
0
answers
32
views
Installing nfs package under oraclelinux:8-slim in docker container running on Ubuntu 20.04 fails
Installing: net-tools;2.0-0.52.20160912git.el8;x86_64;ol8_baseos_latest
Installing: rpcbind;1.2.5-8.el8;x86_64;ol8_baseos_latest
Installing: nfs-utils;1:2.3.3-46.el8;x86_64;ol8_baseos_latest
System ...
2
votes
1
answer
174
views
20.04 vs. 22.04 inside docker, with a 16.04 host == thread start failures?
I wouldn't believe it if it wasn't right in front of me.
So this is obviously an old host, I'm not even looking for a fix just telling you what I'm seeing so the next poor soul to google this nonsense ...
0
votes
0
answers
98
views
Docker Container failing to connect to X-Server
I have a docker container, and am wanting to use some GUI outside of the container. Problem is, when I try to open a GUI inside the container (for example firefox) it gives me the following Error (...
0
votes
0
answers
38
views
Configure host base Postfix and send emails using a container
I have installed and configured the nano /etc/postfix/main.cf file for postfix in the host server and when I try to send it from the host server echo "Test Postfix Gmail SMTP Relay" | mail -...
0
votes
0
answers
52
views
How to specify os version when installing NVIDIA Container Toolkit
I am trying to install the NVIDIA Container Toolkit. The command to set up the repository and specify the GPG key is:
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -...
0
votes
1
answer
181
views
Getting the error 0x80370102 when trying to run WSL on Windows 11 on Mac
I installed Windows 11 on my Mac (M1) using Parallels, and on the windows machine I tried installing the Ubuntu subsystem to run Docker, so I downloaded Ubuntu (Ubuntu2004-220404) and installed it. ...
0
votes
0
answers
55
views
Couldn't connect adminer with MySQL container
I can create connection between containers mysql(container) to adminer(container)
(both in containers)
But i want to connect from mysql(container) to adminer(work as local)
(mysql in container and ...
0
votes
0
answers
24
views
Create Ubuntu ISO identical to Docker Hub image of Ubuntu
I developed a program working inside a docker container to be independent of my personal devices' libraries. Now I would like to setup a real computer from scratch to use it to run my program (and ...
0
votes
0
answers
76
views
Manage docker\compose containers using cockpit
I recently installed Cockpit to manage my 20.04 server and I was trying to setup docker\compose support on cockpit to manage containers.
The only support I see is for podman, Anyone knows how to set ...
1
vote
0
answers
99
views
Open server port 80 and redirect to container IP
I'm not an heavy user of unix based systems. And I have some trouble opening a server's port (80) to the public and redirect it to a running container.
So basically, I have a running container on a ...
0
votes
0
answers
29
views
If user is not in /etc/passwd, can he list the contents of a folder?
I am running docker container with --user <user-id>:<group-id> option.
The user-id is not in /etc/passwd. That is ok. But I want to list the contents a folder.
ls /root
The root folder ...
0
votes
0
answers
26
views
Permissions issues after upgrade
I noticed this morning after I ran an apt-get upgrade && apt-get update and rebooted that I'm unable to docker build an image that I was able to build before I restarted. I tried to ping from ...
0
votes
1
answer
483
views
"Cannot connect to the Docker daemon ...." when running docker on Ubuntu/WSL
I'm trying to run docker in WSL (Windows 10) using the command sudo service docker start, and it shows:
Starting Docker: docker
but when I run sudo docker images, it tells me:
Cannot connect to the ...
0
votes
0
answers
18
views
Problems after make init configuring a project
I am configuring a project:
I execute make init,being init:
init:
make _login
mkdir -p node_modules
mkdir -p docker/postgres
make _docker-compose-up-ignore-errors
sleep 5s
make ...
0
votes
0
answers
198
views
Cant start docker container on ubuntu 20.04
im starting with this command:
sudo docker run -d -p 422:22 --env-file ./config/.env --rm --name dsnitrobotest uwuwu/dsnitrobotest
and getting this error:
docker: Error response from daemon: failed ...
0
votes
0
answers
63
views
How to properly configure lighttpd in Ubuntu?
Recently I started working with "lighttpd" webserver to host local webserver to place some files. I am using Ubuntu 20.04 machine within the docker container. I am following this guide ...
0
votes
1
answer
869
views
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]
Despite having 4 GPUs each with ~20GB vRAM, docker is not able to run with the following command. How can I solve this?
[20:08:28] jalal@echo:~/research/code$ docker run --shm-size 2GB -it --gpus all ...
0
votes
1
answer
818
views
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection
How can I fix this problem in Ubuntu 20.04?
[18:31:29] (dpcc) jalal@echo:~/research/code$ sudo docker pull docurdt/heal
[sudo] password for jalal:
Using default tag: latest
Error response from daemon:...
0
votes
0
answers
60
views
`apt-get intall` from ppa repository fails with error
When I try to install packages from PPA in docker build, I'm getting the following error.
Get:25 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 git amd64 1:2.35.1-0ppa1~ubuntu20.04.1 [...
0
votes
0
answers
16
views
SSH and Local IP Dockers do not respond, but public containers available
I'm not sure how to start debugging what's happening here, but here's what I'm observing.
I have a Intel NUC running Ubuntu 20.04 as my home server. I almost exclusively access it by SSH'ing into from ...
2
votes
1
answer
254
views
Installing Docker through apt vs snap?
I'm starting to build my own media server which will use Docker for different packages. Mainly Plex, Radarr, and so on.
Although I've dabbled a bit with Linux before, I was never aware of what snap is,...
0
votes
0
answers
41
views
Ubuntu v20.04 troubleshooting login problem
After having some login issues, I've reinstalled Ubuntu and it seemed to work fine until yesterday night. It started having login issues again, I've entered the recovery mode and everything seems to ...
1
vote
1
answer
83
views
Trying to fix Docker "cgroup doesn't match target mode" with adding kernel boot parameter
I have problem with running certain Docker images:
docker: Error response from daemon: failed to create shim: OCI runtime create failed:
container_linux.go:380: starting container process caused: ...
1
vote
0
answers
72
views
Docker daemon fail to run 'MASQUERADE': No such file or directory
I have some issue to install and run the docker daemon on Ubuntu 21.04.
During the install of the packages I am getting this bit of fail message :
Job for docker.service failed because the control ...
0
votes
0
answers
217
views
Docker Container Python Not found error
Hi everyone when I try to run my container using:
docker run <aws-ecr-image> serve
I get the error:
/usr/bin/env: 'python': No such file or directory
When I run:
docker run <aws-ecr-...
-1
votes
1
answer
42
views
Which version to use
I was thinking of running docker on Ubuntu is there any way to strip down Ubuntu desktop to bare minimum or does Ubuntu server have terminal when you connect it to a display after install thanks
0
votes
1
answer
112
views
ubuntu 20.04: Failed to fetch openssl_1.1.1f-1ubuntu2.11_arm64.deb 404 Not Found
From docker for MacOS (M1 / arm64) I have updated to the latest ubuntu:20.04 docker image, and now my container fails to build as it does not find some specific package:
Failed to fetch http://ports....
0
votes
0
answers
158
views
Problem with apt-get update coupled with docker and nvidia docker [duplicate]
I am struggling to install docker on Ubuntu 18.05 bionic.
I have just started to work on a shared machine and I am not perfectly aware of what was done before.
Anyway, I deleted all previous version ...
0
votes
1
answer
49
views
Run Two Instances of RStudio Server via Docker
I'm trying to run multiple instances of RStudio Server (community version) on a single machine using Docker, but am running into some issues.
I'm using the rocker/rstudio container.
Here's what I'm ...
0
votes
0
answers
56
views
systemd-udev hogs system cpu at 100%
Recently I encountered a problem on one of the nodes of kubernetes where system was running at a crawling speed. after investigating I found that several instances of systemd-udevd were running.
...