Questions tagged [containers]

436 questions
0
votes
1 answer

Do I need to install docker engine on proxmox's LXC to run a portainer agent?

Currently I am running Proxmox and have installed the docker-engine and Portainer on the main Proxmox node. I would like to add more environments, including an LXC which I downloaded from a template that came from Proxmox. My question is, can I…
0
votes
0 answers

Bindmount External Drive In Proxmox for Nextcloud

I have a Proxmox LXC container with Nextcloud. The default data directory in Nextcloud requires the owner to be www-data with the default uid and gid of 33. I am using the following Proxmox Mount Point: /mnt/sdc Drive Path: /dev/mapper/sdc UID:…
user21303
  • 1
  • 1
0
votes
0 answers

How to bind mount /sys/kernel/debug with systemd-nspawn?

--bind /home bind mounts /home, but --bind /sys/kernel/debug only leads to an empty directory. Any other options needed? Thank you!
Martin
  • 1
0
votes
0 answers

How to run nginx in runc?

I decided to take on a journey of containerization and learn more how containers work under the hood to gain more confidence and become a more proficient programmer. I am trying to run a simple nginx container in runc but I am stuck. I looked at the…
jedi
  • 109
0
votes
1 answer

Unable to set ACL for user and groups in rootless containers

i'm running a Debian container in rootless mode and can't set an acl for groups and users besides my own group and user (at least it seems so). I started a bash in a container ( runc --root /var/slurm/run/ run --bundle ~/containers/test01/ test01)…
csmj
  • 11
  • 3
0
votes
0 answers

Firewalld apply port redirection from rootless Podman containers to host

Is there a way to redirect ports for traffic that originates from the host or a Podman container and is destined for the host or another Podman container using Firewalld? My use case: I am hosting a DNS server and a reverse proxy through rootless…
Nick Lauder
  • 101
  • 2
0
votes
1 answer

Cannot access MySQL in container from Windows host

I am on a Windows 11 Professional workstation. I am running a containerized MySQL in Docker via the instructions at https://hub.docker.com/_/mysql. It says all I need to do is run docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d…
Aren Cambre
  • 101
  • 4
0
votes
1 answer

How to pass a flag (--privileged) to a dokku command?

I need to run a command passing the flag --privileged to the underlying docker run, is there a way to pass it using dokku run?
0
votes
1 answer

apache reverse proxy not working

I am using my apache container as a reverse-proxy and trying to access one of my VM services. It is working when I configure like, ProxyPassMatch "^/(.*)$" "https://host1:443/$1" ProxyPassReverse "^/(.*)$" "https://host1:443/$1" With the above…
0
votes
1 answer

Podman rootless mode to install multiple php_cli versions on a server

I have a Debian server with multiple users. I would like to enable them to use multiple versions of PHP-CLI. I know I could use ondrej PPA, but I am not very comfortable adding unofficial apt sources. I was thinking to use podman in rootless mode to…
nulll
  • 505
  • 1
  • 5
  • 9
0
votes
0 answers

`docker ps` is silent when connecting to another Host

I am trying to execute sudo docker -H 192.168.100.11 ps from machine A (on remote host), and it does not respond in any way (Ctrl+C closes call). Same time, sudo docker -H 192.168.100.11 version from A runs smoothly. Running command sudo docker -H…
Norritt
  • 1
  • 2
0
votes
0 answers

For auditing purposes, how can we record all commands executed inside a kubernetes container?

We have enabled kubernetes audit logging that records the orchestration related activity. Also, the underlying host audit logs have been enabled to capture the commands executed on the host. But, once we login inside a K8s container, how can we…
Prasad
  • 1
0
votes
0 answers

Using ZFS, volume size increase are not seen by LXD container

I'm trying to use LXD to test Ansible deployments, but the container are too small. I read the documentation from linuxcontainers.org here, and I still cannot increase the size on the root disk of my LXD container : I'm running these versions…
Jean
  • 123
  • 8
0
votes
1 answer

Create a dummy interface inside a Windows container

I am trying to isolate the networking inside a Windows container, which is very easy using --network none. The problem comes when I have two threads in the same process trying to communicate each other using multicast through a network interface, so…
0
votes
1 answer

Can't restart podman container

I have installed a mtproto-proxy container: # podman container list CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 02e39044364c …
Clodoaldo
  • 403
  • 2
  • 4
  • 9