container

container options from linux other than tar that work in Windows

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 .tar file. I have …

Total answers: 2

Cannot delete home folder of deleted user

Cannot delete home folder of deleted user I’ve mistakenly deleted a user with userdel without the -r option and now I can’t delete its home folder. I’m logging in as root and I have su rights but when trying chmod or sudo rm -rfv /path/to/directory_to_delete I get "permission denied". I’m running Ubuntu 22.04.1 LTS inside …

Total answers: 1

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

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 it in a container, in which …

Total answers: 1

kubernetes cluster – only crictl can actually see containers (containers assets)

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 line and scroll all the way to the right): lab@worker01:~$ …

Total answers: 1

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

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 running containerA (fastAPI) and containerB … How …

Total answers: 2

Can I specify a folder when creating container images?

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:450stable_v2, this error still occurs. Therefore, I have to use commands docker system prune -a to clean …

Total answers: 1

How to convert the nvidia-container-toolkit.list in Ubuntu

How to convert the nvidia-container-toolkit.list in Ubuntu Here is the original nvidia-container-toolkit.list from GitHub: https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list deb https://nvidia.github.io/libnvidia-container/stable/deb/$(ARCH) / #deb https://nvidia.github.io/libnvidia-container/experimental/deb/$(ARCH) / Here is the document from Nvidia: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg –dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | sed ‘s#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g’ | sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list I have tried …

Total answers: 1

accessing docker database from other docker container(s)

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 containers to use it, but it appears something is always going wrong and I can’t figure …

Total answers: 1

Container – Id is shown as 2000

Container – Id is shown as 2000 I installed Oracle Container using the image: oracleinanutshell/oracle-xe-11g:latest – on a Linux machine. While doing, I copied one .sql file into /docker-entrypoint-initdb.d using "volumes" as shown below: volumes: – ./sql:/docker-entrypoint-initdb.d After the container was created, when logged into container, the Owner for the folder "docker-entrypoint-initdb.d" is shown as …

Total answers: 1

nginx container networking DNS resolves to incorrect IP address

nginx container networking DNS resolves to incorrect IP address The patches-nginx container is incorrectly resolving the IP address of patches-backend within the nginx process but not when I check it manually from the nginx command line. I have nginx running as a proxy inside a podman container though Googling seems to show this problem exists …

Total answers: 1

What containers provide systemd aside from RHEL's UBI?

What containers provide systemd aside from RHEL's UBI? I have an application I must containerize and it has a dependency on systemd during installation I can’t change. It does not need systemd to run, it just has to be there during install. So far, the only container I can find that has systemd baked in …

Total answers: 1

Disk space and inodes appear to consume RAM in a Docker container

Disk space and inodes appear to consume RAM in a Docker container I’m trying to determine why a web server running in a Dockerized environment is consuming more memory than I expect it to. While investigating this problem, I discovered the following behavior which doesn’t make sense to me: Create a Docker container, docker run …

Total answers: 1

Process not receiving SIGTERM in Docker container

Process not receiving SIGTERM in Docker container I’ve got a simple Python process running in a Docker container: Dockerfile: FROM ubuntu:18.04 RUN apt -y update && apt -y install python3 COPY app.py /app/ WORKDIR /app ENTRYPOINT ["./app.py"] app.py: #!/usr/bin/env python3 if __name__ == ‘__main__’: while True: pass It runs just fine. However, I’ve noticed that …

Total answers: 1

What is the net.bridge.bridge-nf-call-iptables kernel parameter?

What is the net.bridge.bridge-nf-call-iptables kernel parameter? I am following this guide of installing kubernetes with kubeadm, and as part of the installation process, I need to set the following kernel parameters in sysctl.d/99-kuvernetes-cni.conf: net.bridge.bridge-nf-call-iptables=1 net.bridge.bridge-nf-call-ip6tables=1 I know that these belong to the br_netfilter module, since I can only see them with sysctl -a after loading …

Total answers: 2

CLOSE_WAIT not visible on the kubernetes node

CLOSE_WAIT not visible on the kubernetes node Debugging a tcp: out of memory error, I found that a process (from a container) has a lot of connection on CLOSE_WAIT status aka 08 when I cat /proc/XXX/net/tcp But neither netstat or ss were showing those leaked connections. 133: 0E03540A:9D9C 804CC2AD:01BB 08 00000000:00059D7A 00:00000000 00000000 0 0 …

Total answers: 1

Mount NFS – "operation not permitted" in Proxmox container

Mount NFS – "operation not permitted" in Proxmox container I’m trying to mount a simple NFS share, but it keeps saying "operation not permitted". The NFS server has the following share. /mnt/share_dir 192.168.7.101(ro,fsid=0,all_squash,async,no_subtree_check) 192.168.7.11(ro,fsid=0,all_squash,async,no_subtree_check) The share seems to be active for both clients. # exportfs -s /mnt/share_dir 192.168.7.101(ro,async,wdelay,root_squash,all_squash,no_subtree_check,fsid=0,sec=sys,ro,secure,root_squash,all_squash) /mnt/share_dir 192.168.7.11(ro,async,wdelay,root_squash,all_squash,no_subtree_check,fsid=0,sec=sys,ro,secure,root_squash,all_squash) The client 192.168.7.101 can see …

Total answers: 2

How can I ensure my backup user has access to all files created by arbitrary processes with arbitrary UMASK, users, groups, and permissions?

How can I ensure my backup user has access to all files created by arbitrary processes with arbitrary UMASK, users, groups, and permissions? Rather than run as root, my Duplicati container runs its own UID/GID [using the Linuxserver.io image]. This is great from a file creation and process running perspective to minimise confusion and unnecessary …

Total answers: 1

Error running `recode` inside a container

Error running `recode` inside a container I am running a Fedora container with: podman run -it registry.fedoraproject.org/fedora:36 Inside this container, I first install recode: [root@388e917ba8ce /]# sudo dnf install recode Then, when trying to execute recode, I get this error: [root@388e917ba8ce /]# touch deleteme.txt [root@388e917ba8ce /]# recode windows1251..utf8 deleteme.txt recode: /deleteme.txt failed: System detected problem …

Total answers: 1

Get Raspi's CPU temperature within Docker container

Get Raspi's CPU temperature within Docker container I’ve build a little ASP.NET Core application for my Raspberry Pi 4 which lets me control a fan (see here). The app is deployed as a small self-contained Linux application running on bare metal of my Raspi. For measuring the temperature, I’m calling vcgencmd measure_temp on the Raspi …

Total answers: 2