Questions tagged [container]
405 questions
1
vote
0
answers
13
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
84
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
1
answer
104
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
0
answers
174
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 ...
0
votes
0
answers
59
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
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
44
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 ...
2
votes
1
answer
132
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
36
views
Degraded status in Crostini container after Developer config and SSH config
systemctl status shows a Degraded state after following Chromeos Development Docs associated with and tweaking the ssh and sshd_config. I've got info about my Build&Machine specs and setup sharing&...
1
vote
1
answer
61
views
Performance Degradation with rsync in container or cgroupv2 with MEM limit
I'm experiencing a significant performance degradation when using "rsync" to copy files over the network from within a container or cgroup with memory limits on Oracle Linux 9.2. The issue ...
0
votes
1
answer
182
views
Upgraded k8 worker node from ubuntu 20.04 to 22.04. DNS resolution/networking inside pods doesn’t work & pods keep crashing/restarting
I have a k8 cluster based on Ubuntu 20.04
1 master and 3 worker nodes.
I drained one of the worker node. Put kubectl,iptables, kubeadm, kubelet & containerd packages on hold.
OS upgrade to 22.04, ...
0
votes
2
answers
131
views
Forward port 2222 to docker but not forward 22
My setup is Linux host with SSH and SFTP access.
It runs inside a docker container exposing also SSH and SFTP.
The docker container does not have a separate network. Uses “host” network setting.
I ...
1
vote
1
answer
525
views
How to install CIFS on RedHat UBI9-minimal?
Trying to mount a Windows share from a UBI9-minimal container. I've discovered that cifs is not contained in the image. Trying to install 'cifs-utils' via microdnf seems to indicate it does not ...
0
votes
1
answer
218
views
Chrony NTP: synchronization with an external NTP server in my Docker container works for a few seconds, but after that, synchronization stops working
Time synchronization with an external NTP server in my Docker container works for a few seconds, but after that, synchronization stops working :
logs :
2024-09-08T20:54:15Z chronyd version 4.0 ...
0
votes
1
answer
297
views
Emulate evdev inside a container
If I create a mount namespace with unshare or a more sophisticated tool like Docker, can I emulate an input device using a userspace process on the host?
I'm aware of /dev/uinput as a mechanism for ...
0
votes
1
answer
561
views
distrobox export binary with sudo access for rootless container
Can sudo be used for an exported distrobox app/binary in the host where its container is rootless?
Example:
I need to edit files in the root partition and admin permissions are required to access ...
0
votes
2
answers
407
views
Prevent podman containers from using AAAA results when there are no ipv6 routes
I am having a problem in which applications running in podman containers are attempting to use ipv6 addresses, despite the container having no ipv6 routes (other than the expected link-local addresses)...
0
votes
1
answer
261
views
After using the timeout command in the container of the alpine image, a dead process will be left
I ran a container using the alpine image and used timeout to run a command in it. After the timeout command ran, there is a dead process left in alpine, and I cannot kill it using the kill command. My ...
-1
votes
1
answer
45
views
podman container that cannot be removed
Is there a way to create a podman running container that cannot be deleted.
On purpose, such that if it is stopped and a command runs prune it will not be removed.
2
votes
1
answer
2k
views
How can I access my host system's system (dbus) bus in a Distrobox container?
I'm using Distrobox to develop applications, and currently I'm working on one which interacts with a service running on the system bus.
To test for a connection to the system bus and the service I ...
0
votes
1
answer
110
views
Ways to isolate cpus between different processes
I'm running speed tests between different versions of the same application. I want to be able to allocate a fixed set of cpus to each application. For example I want to run the application on exactly ...
0
votes
0
answers
114
views
Virtual interface pair forwarding packets to each other
The goal is very simple: anything sent to pair1, as outgoing packet, should appear on pair0 as an incoming packet and vice versa. I am thinking on a layer3-only, virtual interface now.
tun could do ...
1
vote
1
answer
234
views
kubernetes cluster - only crictl can actually see containers (containers assets)
In my kubernetes (v1.28.7), docker uses containerd as underlying container management engine.
(I guess I can call it Container Runtime Interface - CRI? ).
This is how I assume that (look at the last ...
0
votes
1
answer
814
views
Can't run crontab with users other than root
My goal is to run a Docker container that contains crontab. So I want, as a non-root user, to be able to run scheduled crontab jobs. I am running the following Docker image:
FROM openjdk:8
RUN apt-get ...
1
vote
0
answers
376
views
Distrobox: emacs: Could not open file: /dev/tty
Am currently trying to automate running emacs on a Distrobox container (the Docker container is silex/emacs:29.2-alpine, although I've also tried silex/emacs:29.2 which uses a Debian image), and am ...