Questions tagged [container]
407 questions
0
votes
0
answers
5
views
Playing with runc, how to make a console socket so run container can stay detached?
With those commands
#start
mkdir example-container
cd !$
docker export myimage > root.tar
#extract fs
mkdir rootfs
tar -xvf root.tar -C rootfs
#create spec
runc spec --rootless
#run
runc ...
0
votes
2
answers
69
views
How to disable autostarting of conmon?
On Debian13 with KDE after upgrading from Debian12, I see that conmon autostarted and is listening on some port by using sudo lsof -i. I don't want anything to autostart that I didn't configure to do ...
1
vote
0
answers
15
views
Containerd warnings in syslog
My syslog has these warnings:
containerd config version 1 has been deprecated and will be converted on each startup in containerd v2.0, use containerd config migrate after upgrading to containerd 2.0 ...
0
votes
0
answers
253
views
No LAN or WAN access from Podman container with manually created network
I migrated a few Podman containers through these changes:
Host: Debian 12 -> Debian 13
Podman exec: podman run -> quadlet units
Network config: NetworkManager -> /etc/network/interfaces (...
0
votes
0
answers
92
views
Why mount a directory to itself. mark it make-rshared and mount option inside a container
I’m using BTRFS snapshots for my backups with Restic, and with the help of GenAI I created a script to automate the process. I take snapshots of a subvolume called home, which contains three ...
0
votes
0
answers
260
views
Can't use distrobox due to permission error. Podman behaves weirdly
Prerequisites
Alpine Linux Edge
~ $ podman --version
podman version 5.5.2
~ $ distrobox --version
distrobox: 1.8.1.2
~ $ mount|grep ^cgroup|awk '{print $1}'|uniq
cgroup2
I followed the steps in ...
0
votes
1
answer
106
views
create container with a tcp server socket inside from an outside app (as non root user)
I have an application and want to start a firefox where all network traffic from firefox goes through the application which does magic (doesn't really matter what it does).
The idea I have is to open ...
0
votes
1
answer
149
views
Is there a specialized OS for container orchestration?
Containers are intended to solve the "it worked on my machine" problem. Thus, the blueprint of containers has two compatibility requirements: the OS and the architecture. We often see a ...
0
votes
0
answers
199
views
COPY/ADD from host absolute path in podman/dockerfile
Dockerfile documentation states that the <src> argument of COPY and ADD are relative to the context (location of Dockerfile).
If I have third party dependencies located in /usr/local or /opt/ it ...
1
vote
1
answer
304
views
Why is this docker container process not triggering a mount for my systemd auto-mounted drive?
I've been struggling to make sense of something, so would appreciate some help.
I am mounting a remote NFS drive onto my Debian system with the following fstab entry which uses the systemd automounter,...
0
votes
0
answers
60
views
Bridging containers to external VLAN
I have a physical network with several VLANs. One of my computers (my main workstation) is connected to two different VLANs on this network, one tagged, the other not.
I have successfully set this ...
0
votes
0
answers
76
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
107
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
37
views
Incomplete strace output for child processes
So I am writing a program that automatically determines the dependencies of an application and writes a FROM scratch dockerfile based on them using strace.
I was testing it on a MariaDB, but it failed ...
0
votes
0
answers
45
views
Unexpected network namespace inode when accessing /var/run/netns/ from pod in host network namespace
I'm running a Kubernetes cluster with RKE2 v1.30.5+rke2r1 on Linux nixos 6.6.56 amd64, using Cilium CNI.
Here's the setup:
I have two pods (yaml manifests at the bottom):
Pod A (xfrm-pod) is running ...