Questions tagged [containers]
The containers tag has no usage guidance.
440
questions
0
votes
0
answers
19
views
Why need to upgrade containerd.io from 1.2 to 1.4
I have upgraded containerd.io version from 1.2 to 1.4 in order to get a right result of 'ls -al' in rockylinux:8.7 container on Centos7 host.
In the following environment, I coun't access files inside ...
0
votes
0
answers
29
views
Use squid to forward http(s) requests based on domainname
I have installed 5 LXC containers in Proxmox. Each container has a Apache2 webserver up and running inside, pointing to a registered domain.
So:
container1 points to example1.com and has a local ip ...
0
votes
2
answers
121
views
How to configure a podman container to let it communicate with the host as well?
Is it possible to...
run a container with podman
which has an IP on the same subnet that the host is on
is accessible from every other host on the subnet
including the host itself?
I had partial ...
0
votes
0
answers
19
views
Mixed content error nginx+docker container
I have an EC2 with Nginx setup & there are a few containers running inside. There's a Node JS gateway which is serving some of the requests in a webpage hosting in this Nginx server. Nginx is not ...
-1
votes
0
answers
21
views
Moving databeses and applications to containers
I have production server let's call it SERVER1. Structure looks like this.
SERVER1 -- bare metal
Debian11
Apache2 with proxy_https
Database server mariadb
Databases:app1,app2,app3, app4
Directory &...
0
votes
1
answer
1k
views
How to fix "ERROR [internal] load metadata for docker.io" error while using Docker?
I am compiling sources of one cosmos-based blockchain projects on my MacOS. This project using Docker. I installed Docker and it seems running properly. But at the and of compiling I got this message ...
0
votes
0
answers
18
views
nslookup output shows result and error within a container
/ $ nslookup aplha-sidecar.pa-beta.beta.cloud
Server: 172.20.0.10
Address: 172.20.0.10:53
Name: aplha-sidecar.pa-beta.beta.cloud
Address: 10.151.62.118
Name: aplha-sidecar.pa-...
0
votes
0
answers
157
views
Proxmox Container - Temporary failure in name resolution
For my company i need to manage a proxmox machine hosted on OVH.
The proxmox contains some container and i've added a new one, it's a debian 10 container.
I then set the network parameters, assigning ...
0
votes
0
answers
44
views
How to mount Gluster volume in a systemd-nspawn container?
I am trying to mount a Gluster volume within a systemd-nspawn container.
I found two methods to do it from the official Github repo, but I have questions about both methods' security.
The CAP_MKNOD + ...
0
votes
1
answer
57
views
Start a nix-shell with only the current directory mounted (similar to a container)
I am looking for a way to launch a shell with specific packages installed within, but no unnecessary access to the rest of the system, i.e:
Only the current directory (pwd) mounted, no access to ...
0
votes
1
answer
106
views
Is it valid to use macvlan on dummy interface
Is it valid to setup the container network in this way:
Create a dummy interface on the host
ip link add du0 type dummy
Created two containers using systemd-nspawn, each have a macvlan interface ...
0
votes
1
answer
134
views
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 ...
0
votes
0
answers
172
views
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 ...
0
votes
0
answers
28
views
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!
0
votes
0
answers
91
views
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 ...
0
votes
1
answer
56
views
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/...
0
votes
0
answers
160
views
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 ...
0
votes
1
answer
185
views
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 ...
0
votes
1
answer
55
views
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
224
views
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"
...
2
votes
1
answer
141
views
Why "Skaffold" creates 2 different images for each container?
I have a Skaffold file like this:
apiVersion: skaffold/v4beta1
kind: Config
build:
artifacts:
- image: app/auth
context: auth
sync:
manual:
- src: src/**/*.ts
dest: .
...
0
votes
0
answers
59
views
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.
...
0
votes
0
answers
47
views
`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 ...
0
votes
0
answers
42
views
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 ...
0
votes
0
answers
154
views
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 ...
0
votes
1
answer
84
views
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 ...
0
votes
1
answer
295
views
Can't restart podman container
I have installed a mtproto-proxy container:
# podman container list
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
0
votes
0
answers
206
views
Kolla-ansible Yoga how to update with new image containers with local registry?
I am trying to update my Openstack, which was deployed using kolla-ansible, using the documentation here (https://docs.openstack.org/kolla-ansible/yoga/user/operating-kolla.html).
The documentaion ...
1
vote
0
answers
85
views
Docker Is there a way to verify that a container belongs to a particular image build?
I am a newbie in the containers world.
From what I have read, when you want to update your container you do this :
Stop the container.
Delete the container
Pull the new image
Recreate the container, ...
0
votes
0
answers
310
views
Singularity vs. Podman for HPC workloads?
Singularity is said to work well for HPC workloads. RedHat is making an effort to make Podman more usable for HPC, e.g. it (and I presume this is with their ubi8 image) is said to work with MPI. That'...
0
votes
1
answer
342
views
podman: mount a file system during image build
Using podman/buildah, I want to build a container image that has host file systems already mounted.
I am able to do this with Singularity with sudo singularity build /tmp/lolcow.simg /tmp/lolcow....
1
vote
1
answer
901
views
Is it possible to make a L2TP/IPsec VPN connection from within a linux-based Docker for Windows (WSL) container?
I use Windows.
My main goal is to be able to open corporate websites which are only available via corporate VPN such as GitLab. Since Windows wouldn't allow me to specify which websites I would like ...
0
votes
0
answers
1k
views
Podman is unable to start container with SELinux (sd-bus call permission error)
Here is the command I am using to start the container:
podman run -d --name busybox-top -v ./src:/dest:Z busybox top
Error:
Error: sd-bus call: Permission denied: OCI permission denied
I do not have ...
1
vote
1
answer
502
views
kubernetes - assign individual storage to each replica in statefulset
I am running a statefulset in my cluster and am trying to assign each of the replicas (3 in total) to assign their own PVC. Unfortunately, I can only provide 1 name as claimName. How do I make sure ...
-1
votes
1
answer
425
views
Sonarqube app pod is not connecting with PostgreSQL DB pod when deploying to Kubernetes
I am trying to setup SonarQube in a Kubernetes cluster. The cluster was made using KubeADM in the AWS cloud. I have the following files for the setup.
Sonarqube App Deployment file
Sonarqube App ...
1
vote
1
answer
53
views
Difference between Linux image and other images in Docker
I have a question about container images, as I am learning more about containers and Docker.
When I use Docker, I can run an Alpine image. But I can also run, let's say, a Node-alpine image, which ...
3
votes
1
answer
453
views
What's the difference between rootless Docker, running a container as a non-root user, and Podman?
Recently I've been trying to run my Docker application as a non-root user. I've seen there are several options available to me:
Install rootless Docker : apparently this is a "non-root" ...
0
votes
0
answers
128
views
nginx readonly container complains about /var/lib/nginx/off
I am trying to run a nginx container in readonly rootfs but when nginx tries to start it complains about :
[emerg] 10#10: open() "/var/lib/nginx/off" failed (30: Read-only file system)
nginx:...
1
vote
0
answers
1k
views
Docker container loses Internet access after setting Docker to use manually created bridge
I need a bridge network for QEMU/KVM virtual machines. But then, if I just install Docker, virtual machines lose Internet access. The solution I have found was making Docker use that existing bridge ...
0
votes
0
answers
23
views
Shared storage between multiple instances of app container
What would be the best way to share persistent storage between multiple container instances of the same app ( for HA/performance purposes ). The app does not do heavy read/writes it just stores files ...
0
votes
0
answers
146
views
LXD Routed Nic not getting internet access
I have an address of 10.1.1.24 which is my IP to the internet.
I have made a profile as follows:
config:
user.network-config: |
version: 2
ethernets:
eth0:
addresses:
...
0
votes
1
answer
5k
views
Message printing after I apt-get install or needrestart about services, containers, user sessions and VMs
I've just put Ubuntu 22.04 on my server, and when I execute apt-get install x(where x a package I want to download) or needrestart, I get this message that I haven't found an explanation for.
Running ...
0
votes
0
answers
139
views
Improve my actual docker backup system
I've a personal documentation/git environment running on vmware.
I'm actually making manual backup on an offline media with Duplicati (that I love!)
I backup the entire virtual machine folder! And i ...
0
votes
1
answer
493
views
How to get list of azure container images which are affected after security scans?
I know how to get repositories, we can use
az acr repository list --name myregistry.
But, how to get repositories with tags that are having security/vulnerability issues after security scans using ...
1
vote
0
answers
128
views
Moving folders while building a podman container
I am creating a container for Podman that runs Samba Active Directory as a Primary Domain Controller and with Bind DNS backend.
It is based of a previous container that I made which had volume ...
2
votes
2
answers
632
views
Running amd64 UBI9 images with podman on Apple Silicon
I'm trying to run an amd64 UBI9 image on Apple silicon with Podman. Podman provides a Fedora CoreOS VM to run containers in. It allows for installing qemu binaries to run "foreign architecture&...
0
votes
0
answers
182
views
I can't see the data inside my NGINX container volume
I created an nginx container to test my reverse proxy before deploying it for the task I have.
I am using Docker Desktop v4.11.1 on windows 11 Build 22000.856
but here are the problems I am facing:
...
0
votes
1
answer
200
views
Can each GPU be used on Kubernetes as dedicated to a specific Pod?
I have the following environment:
Pods: Pod0, Pod1 (launched as a k8s Job)
GPUs: GPU0, GPU1
GPU0 is dedicated to Pod0, and GPU1 is dedicated to Pod1.
There can be multiple Pod0s and Pod1s at the same ...
1
vote
0
answers
85
views
Can Gitlab container registry store containers at the group level or only at the repository level?
Using a self-hosted GitLab instance I can configure the GitLab container registry under a repository successfully. The repository is part of a GitLab group.
It would be more logical, organizationally, ...
0
votes
1
answer
1k
views
I have installed Jupyter-Lab inside a Docker container but I can't access the Jupyter web UI
Situation:
So I have installed Jupyter-Lab inside a Docker container in a VM on my network. I've then done a commit (I know this isnt the correct way to do things, I should use a Docker file).
I then ...