Questions tagged [docker]
Docker is an application to create containers for applications.
1,810 questions
1
vote
1
answer
23
views
How to replace source list in old postgres:9 image before effectively run apt-get update
I would like to install java in final dockerfile stage from postgres:9, and I have to change following outdated addresses:
RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list
RUN ...
2
votes
1
answer
97
views
apk update -- WARNING: opening /repo: No such file or directory for existing repo
I'm trying to collect apk packages to local repo to install them later. But apk update says that this repo directory does not exists (what is not true). It does not depend on actual location and is ...
0
votes
0
answers
16
views
Run RPCBind on a docker container with the socket enabled (for port 111)
I'm trying to dockerize a rpc application I made using C lang and rpcgen, I have the byte executable and everything, I tried a lot of docker os image like ubuntu 22.04/ debian and so on, the ...
2
votes
1
answer
49
views
How does one run cron jobs in one container that does stuff in another?
I am on Kubernetes. I need to be able to write and run cron jobs in a pod. I can't use the CronJob workload. The solution I found is to run cron jobs from a cron sidecar container. I write cron jobs ...
0
votes
0
answers
31
views
SSH login with Google Authenticator in Docker container - one time passwords aren't accepted
I'm currently trying to create a docker container that acts as an ssh server. The login should be handled by the Google Authenticator (GA) PAM module, which implements time bases one time password ...
0
votes
0
answers
17
views
Docker return error in Jenkins pipeline
Need some guidance. I am trying to deploy a container in remote server and used groovy script to do this task. I am getting error like below,
[2025-04-02T04:26:43.369Z] + ssh -o StrictHostKeyChecking=...
3
votes
1
answer
103
views
Firewalld ignoring rich-rule against port forwarding
I have an issue setting up my firewalld to have a perfect link together with docker and fail2ban.
First, what I want to achive is the following traffic routing setup:
[PUBLIC] ->
[FIREWALLD] -&...
0
votes
0
answers
30
views
What are the rules behind finding executables in shebang statements? [duplicate]
I want to create a Docker image that has the Python3 runtime, a Python script of my creation, update-alternatives configured to run python3 when python is invoked, and I want to make the Python script ...
0
votes
1
answer
19
views
Starting a systemd user service for a docker rootlesskit user
I run my docker stuff with a dedicated user, and installed the docker rootlesskit. I start docker with systemctl --user start docker.service. Everything related to docker, executed with that user, ...
0
votes
0
answers
13
views
Where can I download postgis extension package for Greenplum?
I want to run Greenplum DB in a docker container
docker run -p 5432:5432 --name greenplum_container --rm datagrip/greenplum:6.8
Then log into the container and install the extension.
However I don't ...
1
vote
1
answer
74
views
strange Docker veth interface (peer) names
On a Docker host (which I have not set up; I am not very familiar wich Docker anyway) I noticed that I do not understand the interface names:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc ...
1
vote
2
answers
36
views
IPIP tunnel between two docker containers on separate servers
Thank you in advance for your attention to my question and your help.
I have a rather specific task. I need to set up an IPIP tunnel between two Docker containers located on different physical servers....
1
vote
1
answer
56
views
How to bypass pi-hole DNS on debian
I have setup pi-hole and some other things on a debian server, using docker.
The pi-hole is acting as a DNS for my entire network (I have added the server's IP in my router dns config)
Problem is that ...
0
votes
0
answers
34
views
Only IPv4 servers are accessible via extra hosts mapped to host-gateway in a docker container
I am using --add-host to map the host machine to a hostname in a docker container.
From inside the container, I can only access servers on the host machine who bind to an IPv4 address, but not those ...
0
votes
0
answers
176
views
Accessing Docker Unix Socket from a Podman Container on a Remote Server (SSH)
I'm trying to access a Docker Unix socket on a remote server from within a Podman container (offen/docker-volume-backup).
I've (root-)mounted the entire root filesystem of the remote server using ...