Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [container]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 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 ...
Peter Cox's user avatar
0 votes
0 answers
28 views

Running shell commands in Jenkins kubernetes container

Im just trying to execute shell commands in a Jenkins kubernetes container from a pipeline. Getting the below error 11:30:35 cp: can't stat '/home/jenkins/agent/workspace/builds/<project>/...
sathya2025's user avatar
1 vote
1 answer
25 views

Browse kubernetes container's filesystem with midnight commander?

Assuming a kubernetes container has bash or similar installed, is it possible to use midnight commander (e.g. shell link, sftp link, ...) to browse the container's filesystem?
Sparkler's user avatar
  • 1,079
0 votes
0 answers
20 views

Podman container to run on boot (Microsoft Log Collector)

I have a container for the Microsoft log collector Podman container. In the documentation for the setup it requires the use of this command that I got sucessfully running by itself: (echo <key>) ...
dgibbs's user avatar
  • 305
0 votes
2 answers
32 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)...
larsks's user avatar
  • 36k
1 vote
0 answers
29 views

Simple user database / LDAP lookup options for containers

In my environment we launch containers with a specific uid/gid that our users use as workspaces. It's a bit finicky and one of the drawbacks is that there won't be a matching user in /etc/passwd, ...
vadimb's user avatar
  • 11
0 votes
1 answer
37 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 ...
Ui Hirazawa's user avatar
1 vote
1 answer
61 views

Why does augenrules refuse to run even when sudo is used?

I have Amazon Linux 2023 running in a Docker container and I would like to be able to load some custom audit rules into the kernel and ensure they are persisted when the container restarts. I have ...
word4q's user avatar
  • 13
0 votes
0 answers
78 views

apt-get update not finishing on debian bookworm container

I'm faced with an issue where building a debian:bookworm container image with an apt-get update instruction on a debian buster machine, completely hangs up without any response. The Dockerfile in ...
Inian's user avatar
  • 12.9k
-1 votes
1 answer
20 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.
maxfridbe's user avatar
0 votes
1 answer
36 views

RedHat Quay does not start on RHEL 9.4

I'm not super deep on troubleshooting yet, but I have fired up a brand new install of RHEL 9.4 minimal just to run RedHat Quay. I followed the instructions exactly as listed here, but when I run the ...
Grant Curell's user avatar
0 votes
1 answer
90 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 ...
Newbyte's user avatar
  • 1,088
0 votes
0 answers
19 views

How to start one Linux container from another?

On Chromebook Crostini Linux I can (via .ssh/authorized_keys) stop one container from another, jidanni@n1:~$ ssh n2 sudo shutdown -h now But starting it requires crosh> vmc start termina (termina)...
Dan Jacobson's user avatar
0 votes
0 answers
26 views

How can you build a Flatpak package in a Bitbucket CI/CD pipeline?

I'm trying to set up a CI/CD pipeline that builds Flatpak packages in Bitbucket CI, but I'm struggling with getting Flatpak working in the container. Initially I tried using the freedesktopsdk/flatpak:...
Newbyte's user avatar
  • 1,088
0 votes
1 answer
24 views

the underlying mechanics of dind(docker in docker)

I was under the impression that DinD is just a trick to use host docker daemon, however I recently read it's not true, that it's really a nested containerization. I'm interested in the mechanics of it,...
Vano's user avatar
  • 101
0 votes
1 answer
38 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 ...
spinosarus123's user avatar
0 votes
2 answers
42 views

container options from linux other than tar that work in Windows

I have Windows 10 pc's that do not have winzip or 7zip, or any kind of compression software installed. do not ask why As such the windows10 pc's can only do an unzip. They are unable to work with a ....
ron's user avatar
  • 7,284
0 votes
0 answers
16 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 ...
peterh's user avatar
  • 9,848
6 votes
1 answer
286 views

getdents() syscall appears to be returning different results within a container

I'm trying to read what type of file /dev/null is. If I use stat() it reports correctly that it's a character device. If I use getdents(), it also reports that it's a character device - unless I run ...
Colourful's user avatar
1 vote
1 answer
46 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 ...
user205591's user avatar
0 votes
1 answer
24 views

Forcing container to route outbound through VPN - source-based routing not working

I need to ensure outbound traffic from a specific (Docker) container is tunneled through my (WireGuard) VPN (running on my VPS) to exit to the Internet with my VPS external IP, but I am not being ...
LaXiS's user avatar
  • 1
0 votes
0 answers
27 views

Entering distrobox changes the display resolution

In a Fedora 39 kinoite VM, I have a Distrobox container with Ubuntu22.04. When I first created the container the display had a resolution of 1280x800. I changed the display resolution to 1280x1024 and,...
pablo's user avatar
  • 3
0 votes
1 answer
167 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 ...
FueledByPizza's user avatar
0 votes
1 answer
37 views

Linux container for desktop experience

Just out of curiosity, are there any cases of it being possible to have a Linux container be the user-facing desktop environment instead of it being interacted with via the command line or any "...
Melab's user avatar
  • 4,168
1 vote
0 answers
126 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 ...
shintuku's user avatar
  • 143
0 votes
2 answers
57 views

how can I make a docker container run a command that will restart another container

I made a fastAPI docker container, and it's running fine, unless 1 command... I need it to restart another docker container when some event happen. I have a server[host], running docker, docker is ...
Abd Alhaleem Bakkor's user avatar
1 vote
1 answer
1k views

DaVinci Resolve Symbol Lookup Error on Fedora 39 within VanillaOS Orchid's Apx Container

I'm encountering a challenging issue trying to run DaVinci Resolve within an Apx application container on Fedora 39, which is running under VanillaOS Orchid. Despite my efforts to troubleshoot, ...
MrKristijan's user avatar
0 votes
0 answers
61 views

how to send signal to (parent process?) telling the parent that the child is crashing

This is probably not a best practice, but I am trying it out. I have this entrypoint.sh file that I use with docker like so: ENTRYPOINT ["./entrypoint.sh"] here was entrypoint.sh: #!/usr/...
Alexander Mills's user avatar
0 votes
0 answers
156 views

How to identify which process is causing a high memory consumption?

I am running a virtualized Arch Linux machine. From time to time, it shows a high memory consumption and I do not know the reason because basically, the machine is sitting idle. # ps aux --sort=-%mem ...
Stacker12345's user avatar
0 votes
1 answer
68 views

How to identify the cause of a process reading from disk at rates above 400 Mb/s

I am managing some virtual machines in Azure and a few times a week, at apparently random times, some of them start I/O reading at speeds above 400 Mb/s. This occurrs for one machine at a time, not ...
Stacker12345's user avatar
0 votes
1 answer
26 views

Can I specify a folder when creating container images?

When I create a new container, this error always occurs after a period of time. Even if I delete some images with command docker rmi dobotv4vc_2:v450stable_v2 && docker rmi dobotv4vc:...
Vimer's user avatar
  • 67
0 votes
0 answers
18 views

Difference between permissions 700 and 070 [duplicate]

in debain if a owner is not given access to a directory but the group which includes the owner has access to the directory will the owner still be able to access the directory? A scenario: If a user ...
Curious Developer's user avatar
1 vote
0 answers
31 views

Isolating a child process in a remote desktop program

I'm developing a remote desktop/streaming program for linux. When a user logs in, they specify a program to launch, and the remote server launches that program as a new process. The server process ...
colinmarc's user avatar
  • 111
0 votes
0 answers
33 views

Can I use systemd resource management to deny port only outside containers

On an up-to-date fedora 39, I have set up podman for rootless containers and I limit the ports a user may bind to by creating /etc/systemd/system/user-1000.slice.d/user-resources.conf with [Slice] ...
Gamification's user avatar
0 votes
0 answers
234 views

how to configure kata containers to work with systemd

I am trying to run kata containers with systemd using containerd on my ubuntu 22.04 machine, but I cannot manage to make it work. My expectation is to be able to run all the processes inside the ...
agalbenus's user avatar
0 votes
0 answers
72 views

why ctr did not show the container

When I tried to use ctr to show the container like this: # ctr images list REF TYPE DIGEST SIZE PLATFORMS LABELS The output is null, am I missing something? Is it possible to show the image list when ...
Dolphin's user avatar
  • 639
0 votes
1 answer
230 views

accessing docker database from other docker container(s)

This is a very confusing matter to me. I have multiple containers, each comes with it's own database, which creates resources overhead. I've deployed a mariadb container and I want the other ...
Abd Alhaleem Bakkor's user avatar
1 vote
0 answers
147 views

Cant Get Container To Mount Volume With Standard User

I can't seem to get containers (running podman) to be able to write to directories when running a standard user. This solution also did not work. To be clear I can read files from these directories, I ...
The Floating Brain's user avatar
0 votes
1 answer
857 views

Obtain a Wordpress Website with a Proxmox container available from outside with https (ssl encryption)

My prelimanary actions: setting up a ddns hostname with noip service (ok) configured to automatically keep alive the association on my home router(ok) installed a proxmox server v8 (ok) create a lxc ...
Alessandro's user avatar
1 vote
0 answers
248 views

Best practice to mimic a linux rootfs without root permission on an existing system

I have access to a user account of a ubuntu server. However it's really inconvenient to work without root permission (which means that cannot install packages) and I am more familiar with archlinux ...
Yutsing's user avatar
  • 11
0 votes
1 answer
88 views

podman: chialab/php-dev:8.2-fpm found/not-found on different machines

I have two VMs running different host Linux OSs and identical podman-compose.yml files on the two. The podman-compose.yml file has the snippet: fpm: image: chialab/php-dev:8.2-fpm [...] ...
Michael NGV's user avatar
0 votes
0 answers
91 views

Established but hidden TCP connection

On computer 10.196.111.161, I can see the following established tcp connection: [10.196.111.161]# netstat -natp | grep 7000 Proto Recv-Q Send-Q Local Address Foreign Address State ...
meolic's user avatar
  • 101
0 votes
0 answers
103 views

EOVERFLOW when opening any file for writing

I'm writing a custom container engine. When I attempt to open any file for writing somewhere in the container (as long as that place is writeable, permissions-wise), I get an EOVERFLOW error (Value ...
pxeger's user avatar
  • 134
0 votes
2 answers
625 views

podman fails with 'Error relocating' / 'RELRO protection failed'; ~/.local/share/containers a link to a different location

Trying to run any pods on Podman fails, after an SELinux relabeling $ podman run -ti alpine Error relocating /lib/ld-musl-x86_64.so.1: RELRO protection failed: No error information Error relocating /...
caxcaxcoatl's user avatar
0 votes
1 answer
737 views

Running a wayland compositor inside Docker

I am looking for a way to run a Wayland compositor (like Hyprland) inside a docker container. I know I can run it inside Distrobox, but I don't want to run the whole system inside of the container, ...
Skizy's user avatar
  • 1
0 votes
0 answers
654 views

Why can't I enable systemd services created with podman generate?

Given this setup: --- version "3" services: wireguard: image: "lscr.io/linuxserver/wireguard" container_name: "wireguard" cap_add: - "NET_ADMIN&...
telometto's user avatar
  • 2,055
0 votes
1 answer
57 views

cgroups between containers

I am trying to find out a way to move a process back to the original cgroup after I moved it to a new cgroup under my hierarchy. The situation is k8s cluster, I have a pod on a node (container) and I ...
Aviram's user avatar
  • 1
0 votes
2 answers
253 views

Can netfilter act as a DHCP relay?

I'm wondering whether instead of using a DHCP relay netfilter (be that tc or nftables) can be used to route DHCP broadcast packets to a Docker container attached to a bridge. The reasoning for this is ...
Synthetic Ascension's user avatar
0 votes
1 answer
478 views

How to make a restrictive syscall *whitelist* with systemd-nspawn?

I'm trying to lock down a container using systemd-nspawn, so that only the specific syscalls I whitelist are allowed. Per the documentation, there's a pretty lax filter in place by default, ...
SwarmOfBees's user avatar
0 votes
1 answer
3k views

podman - containers stuck in stopping state after reboot

I have now bumped into this problem several times - some podman containers get stuck in the stopping state, but I'm not sure how to tackle the problem. [grant@patches patches]$ podman ps -a CONTAINER ...
Grant Curell's user avatar

1
2 3 4 5
8