Questions tagged [containers]
436 questions
0
votes
1 answer
can different pods run different containerization technologies?
for example, can I have one pod running docker and another running cri-o?
I am new to the world of kubernetes and I've not been able to find the answer in the documentation.

honestSalami
- 103
- 2
0
votes
1 answer
nginx Hugo 301 redirect issues
I'm using a nginx container that is unprivileged and runs on port 8080, I used it to serve up a Hugo site, everything works except for when you click on a tag which sends you to /tags/mytag/ I keep getting a 301 redirect and since nginx inside the…

user3511269
- 1
- 1
0
votes
1 answer
How can each OpenStack Swift object-storage container be set up with a different password/key in a standard way?
I'd like to have many storage buckets, each with its own password or key for read & write access for use by end users.
Some options I've discovered:
ACLs: These work on a per-OpenStack-user basis. I don't think it makes sense to create a new…

colan
- 520
- 5
- 9
0
votes
1 answer
Monitor Docker Container for No Output
I have a long running process in a docker container that is setup like this:
Dockerfile
...
ENTRYPOINT ["./invoke.sh"]
invoke.sh
#!/bin/bash
./long-running-command
If long-running-command is running properly, it will send output to STDERR every…

Shaun
- 13
- 4
0
votes
1 answer
Nginx Containerized coexisting with Apache server
I have a VPS with Ubuntu server, which is running a flask (python) web app, using UWSGI, through reverse proxy with Apache, for the domain "a.com".
Both the flask app & the Apache aren't containerized.
Now I have another web app that I want to…

Lopofsky
- 103
- 2
0
votes
0 answers
haproxy logs in a container
I’m struggling to get access and health check logs from haproxy when I run it inside a container, so I’ve followed the instructions in the docs (Setting up logs using Docker | HAProxy Enterprise 2.2r1) and my config looks…

Bren
- 11
- 4
0
votes
1 answer
Open vSwitch and port translation
we've got a very specific requirement which I want to solve with Open vSwitch. It already works somehow - can you show me what I'm missing here?
Requirement: a Docker container connected to a mac-vlan interface exposes services on a specific port…

BuzzTee
- 1
- 2
0
votes
1 answer
Podman fails to add container to a pod [firewalld, nftables]
Can't start a podman container nor can I add container to a pod on CentOS8.
I've tried the usual actions, e.g.:
Made sure I am starting with clean state:
sudo podman system reset which has deleted all images, containers, etc.
sudo podman run -dt…

mikitk
- 1
- 1
0
votes
0 answers
Linux bridge does not forward packets to TAP interface
I have the following scenario where I run a Docker container which has configured inside of it a Linux bridge br0 and attached to it I have the main interface eth0 of the container and a TAP interface tap0. This last is connected to a QEMU guest…

Mazzy
- 227
- 3
- 11
0
votes
0 answers
implementing a failover service for containers
Two VMs are hosted on the same machine, let's name them VM1 and VM2. Both VMs are hosting a runC container running a server application, a client is running directly on the host machine and is connected to service running in the container in VM1.
I…

y_159
- 121
- 6
0
votes
1 answer
Dockers place in the cloud
Putting aside aws ECS and other container services for a moment, is a docker host running on top of a VM in the cloud irrelevant?
Containers are supposed to optimize out the guest OS, but since you're working with VM's already isn't it sort of a…

ChrisW
- 1
0
votes
1 answer
How can I change `fs.notify.max_user_watches` on Azure Container Instances?
I'm deploying an application called Theia (a cloud-based IDE) on Azure Container Instances. The app is throwing errors about not being able to watch project files for changes. I did some research and this happens when fs.notify.max_user_watches is…

Ben Davis
- 280
- 1
- 6
- 18
0
votes
0 answers
Multiple inexperienced users on one Linux server. How best to use containers to protect against unintentional damage?
So, I'm a researcher tasked with maintaining a number of GPU servers for researchers in my lab. I have quite a bit of Linux experience, while some users have never used Linux before.
The other researchers and I have root access. Unfortunately, while…

lynn
- 101
- 1
0
votes
2 answers
Why root user is allowed by default in public cloud Kubernetes services?
In a Kubernetes environment, I suppose that the root user should not be allowed by default to mitigate the risk in case the host OS was accessed from inside a container. This setting should be done by writing in PodSecurityPolicy.
Considering this,…

rks
- 1
- 1
0
votes
1 answer
Docker fails to load container after power outage. How to remove corrupted containers?
Couple of my docker containers got messed up due power outage and as a results Docker daemon fails to start. I would like save healthy containers and only remove few corrupted ones.
Is this possible to achieve by removing some container and database…

tikka
- 1