Questions tagged [docker]
Docker is an application to create containers for applications.
1,826 questions
0
votes
0
answers
24
views
Docker + Create AP setup
I know this will be a bit of a stretch but...
So I'm running ArchLinux on a Desktop PC with an i5, RX 6800, and a Realtek Wifi card from TP Link.
I installed the linux wifi hotspot AUR package and ...
1
vote
0
answers
20
views
Trying to get ClamAV clamonacc on Linux VM host monitoring the Docker overlay2 file system on the host
I've been trying to get ClamAV's clamonacc on-access scanner to monitor the overlay2 file system where Docker container file systems are mounted on my Linux (Ubuntu 24.04) VM, so that I can detect any ...
1
vote
0
answers
49
views
How can I find what’s using space in my root LVM (/dev/mapper/ol_wglsbi02-root) on RHEL / Oracle Linux?
I inherited two servers, a production server (wglsbi02) and a mirror/backup server (wglsbi01), that were originally set up by someone who has since left the company.
I’m not an experienced system ...
1
vote
0
answers
77
views
How to gracefully shutdown a docker container?
I need to run c++ application inside a docker container and it is deployed using AWS ECS. The application should run as user abcd and it should be able to generate core files. Initially I had a run ...
0
votes
1
answer
42
views
Is it perfectly safe for the host to build any network structure of bridge type under a Docker container?
I'm thinking about using a Docker container to present complex networks, some causing some trouble, being misconfigured or else: it's for testing purpose.
networks:
frontend:
driver: bridge
...
1
vote
1
answer
66
views
Preallocate large continuous memory block for legacy executable
I'm trying to develop J2ME game on Linux using this guide by microgram dev.
The j2me emulator from Oracle Wireless Toolkit works totally fine after Linux reboot.
I run some other apps like browser, ...
1
vote
1
answer
57
views
Docker Container Mount Name, Type and other values
I am writing a bash script and I am aware that I can get information of the mounts attached to a container using docker inspect --format '{{.Mounts}}' <container-name> which gives a result such ...
0
votes
3
answers
217
views
In Linux how do I wrap an executable in a script so arguments and output work as the original executable expects?
Say I have an executable 'foo' and it is typically called with arguments, for example "foo -a1 v1".
And 'foo' happens to be a resource hog, so I want to run something like "nice -n 10 ...
1
vote
1
answer
170
views
LoadCredential does not seem to work when running systemd in a container
I have been trying to run systemd in a container to test out an existing project before it gets deployed to hardware. systemd seems to work, but LoadCredential doesn't, even though it works on the ...
2
votes
1
answer
299
views
Running docker in an unprivileged devuan lxc container (on proxmox)
I am configuring a single-node proxmox server for use as a home server/homelab. I am looking to run many of my generic applications (like immich, jellyfin, etc) in docker containers, which could all ...
0
votes
0
answers
43
views
extending aws docker image fails
I need to extend the aws cli docker image with some custom scripts
I have created a docker file and am copying the script files into a directory
when using the docker file in my gitlab job I get the ...
3
votes
2
answers
169
views
How do I autosource path and venvs in /bin/sh (posix sh) for docker pods
I have a minimalistic pod that holds a small python program.
I've added the source to $HOME/.profile but it does not autorun.
How can I autosource it when I log in?
docker run -ti <internal-docker-...
0
votes
1
answer
73
views
How can I parametrize the address of docker registry in COPY --from argument?
I can't seem to be able to use a $VARIABLE reference in --from part of COPY instruction
$ docker build - <<<'
> ARG DOCKER_REGISTRY=docker.io
FROM $DOCKER_REGISTRY/library/docker:24-cli
...
1
vote
1
answer
71
views
can't install services in Docker
We want to run CI/CD for our saltstack formulars. With debian buster it worked fine; now I try it with bookworm and I get some errors.
My CI-yaml file in gitlab looks like this:
image:
name: debian:...
1
vote
0
answers
174
views
Using socat to redirect docker attach's STDIN/STDOUT to a TCP socket
I'd like to use socat to redirect the STDIN/STDOUT of the process executing docker attach <container-id> to a listening TCP socket on my Linux system.
root@eve-ng:/opt/unetlab# tty
/dev/pts/2
...
1
vote
0
answers
36
views
Gqrx GUI not showing in Docker (Openbox + Xvfb + noVNC) on macOS host
📝 Body:
I'm running Gqrx SDR inside a Docker container on my local macOS machine using:
Openbox for the window manager
Xvfb for the X11 display
x11vnc + noVNC to stream the GUI via browser
Docker ...
-1
votes
2
answers
356
views
PHP-FPM status page returns curl: (56) Recv failure
I have PHP-FPM pool with such configuration blocks:
...
listen = 0.0.0.0:9000
...
pm.status_path = /status
...
I'm getting
curl: (56) Recv failure: Connection reset by peer
while trying
curl 0.0.0.0:...
0
votes
0
answers
71
views
Docker attach on a container running /sbin/init
I run a Cisco XRd docker container on my Linux Ubuntu host. I run the image using docker run -it -d command. The image's entrypoint is /usr/sbin/init, indeed:
root@eve-ng-6:/opt/unetlab/html# docker ...
0
votes
1
answer
105
views
How to connect to primary process of a running docker container
I've a docker container running on my Linux host.
root@eve-ng-6:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ea25d3afa65d ...
0
votes
0
answers
66
views
Can not run script with jenkins user
My host is on alpine Linux and I'm running a jenkins agent on docker. I need the jenkins agent to be able to run a script when it does a build that changes the ownership of a few directories. Every ...
0
votes
1
answer
187
views
Installing python3.10 on debian:stretch-slim image?
I have an docker file where the base image is set to debian:stretch-slim. The default version of python3 is python3.5 in this image.
FROM debian:stretch-slim as base-os
....
....
RUN python3 -V
RUN ...
1
vote
1
answer
64
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 ...
0
votes
0
answers
96
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 ...
0
votes
0
answers
87
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 ...
3
votes
1
answer
374
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] -&...