Questions tagged debian

Explore the latest questions and answers asked by our top developers.

Unable to connect to Debian from Docker container

In a Docker container I am trying to install packages using apt-get, as follows… FROM python:3.10.2-bullseye RUN apt-get update && apt-get install -qq -y build-essential libpq-dev –no-install-recommends At this run step, the code runs for a little over a minute before timing out with an "unable to connect" error, like… #10 45.57 Err:1 http://deb.debian.org/debian bullseye […]

By jeffstern
Published
Categorised as debian, docker, linux Tagged , ,

Connection timeout HTTP put request

I’ve come across a really nice project on GitHub and wanted to give it a shot but it isn’t exactly working as it should: https://github.com/jack3898/discord-youtube-bot-2 It’s a Discord music bot which supports YouTube, it is using docker, docker-compose and redis and all those 3 things were new to me when I first found it a […]

By vparys
Published
Categorised as debian, docker, linux, node.js, redis Tagged , , , ,

Automatic Backup a dockerized PostgreSQL database to local

I’m trying to backup a dockerized PostgreSQL database to the local filesystem. When I try this commmand as root all works fine: docker exec -t postgres pg_dumpall -c -U postgres > /local/path/dump.sql But as cronjob or systemd.service it fails. What I could already find out, it fails at this part > /local/path/dump.sql Source: Docker Questions

By Dave
Published
Categorised as debian, docker, linux, postgresql Tagged , , ,

Docker "apt-get update" fails on Windows 10

I am trying to run a simple Dockerfile in Windows but I am getting an error message: Dockerfile: FROM python:3.8.12 RUN apt-get update Error message: Step 1/2 : FROM python:3.8.12 —> ce9555db0df5 Step 2/2 : RUN apt-get update —> Running in 64b64a2277b5 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] Get:3 […]

By Mircea
Published
Categorised as debian, docker, dockerfile, windows-10 Tagged , , ,

My docker filesystem duplicates itself for no reason

My FS has been filled by my docker container (docker pull dependencytrack/apiserver). It seems it has duplicated itself in many subfolders. find /var/lib/docker/overlay2/ -name alpine-1.10.2.jar | wc -l 1550 (answer should be closer to 1, I guess). They all reside in /var/lib/docker/overlay2/[diff|merged]/<random_number1>/tmp/jetty-0_0_0_0-8080-dependency-track-apiserver_jar-dtrack-api-any-<random_number2>/webapp/WEB-INF/lib/ where random_number1 is fixed and random_number2 has many differents values. Is this problem […]

Docker: make: gcc: No such file or directory

https://github.com/ossc-db/pg_hint_plan/releases/tag/REL13_1_3_7 Distribution in a container: Debian 11.2 I want to do make & make install of the above file in Docker, but However, I get the following error and cannot install it. What am I missing? gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 […]

By Jvn
Published
Categorised as debian, docker Tagged ,

How to install bash on a bitnami/prometheus image?

I’m trying to use the bitnami/prometheus container which, according to its documentation, is based on the minideb container image which does not have a shell. I would like to install a Bash shell for debugging purposes. I’ve noticed that this works on the bitnami/minideb image directly, i.e. the following Dockerfile, FROM bitnami/minideb:latest RUN install_packages bash […]

By Kurt Peek
Published
Categorised as bash, debian, docker, dockerfile Tagged , , ,

Using docker build in gitlab CI/CD can’t resolve names

I want to build a docker image in a gitlab CI/CD pipeline. I’ve configured the docker:latest image with the docker:dind service. In the script section I have a call to docker build … Everything seems to be working OK but when the build starts the container can’t resolve names. In the Dockerfile I have some […]

By Gon alo Marrafa
Published
Categorised as debian, docker, gitlab Tagged , ,

Installing mysql-client in an Debian 11 docker container using Dockerfile

I need to install mysql-client in a Debian 11 docker container. With RUN apt-get install -y mysql-client I get the following error: Package mysql-client is not available, but is referred to by another package. This may mean that he package is missing, has been obsoleted, or is ony available from another source Package ‘mysql-client’ has […]

By Sachin Myneni
Published
Categorised as debian, debian-packaging, docker Tagged , ,

install and run docker in a debian docker container

Today, I successfully built and ran an amd64-Debian docker image on my raspberry pi though my pi is arm64. As shown here The pi host is aarch64 and docker image is x86_64. My final goal is to run the x86_64 volumio docker image "jbonjean/volumio" on my raspberry pi. My thought is to install docker in […]

1 2 3 25

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq