Questions tagged [containers]

436 questions
2
votes
1 answer

site2site wireguard with docker : routing problems

Disclaimer: repost from stackoverflow: https://stackoverflow.com/questions/67917278/site2site-wireguard-with-docker-routing-problems I am trying to have two containers, running on two RPI, act as a site-to-site VPN between Network 1 and Network…
nick2k3
  • 23
  • 1
  • 7
2
votes
3 answers

Any point in running containers as non-root on openshift

The openshift documentation reads : To further protect RHCOS systems in OpenShift Container Platform clusters, most containers, except those managing or monitoring the host system itself, should run as a non-root user. Dropping the privilege level…
bryan hunt
  • 63
  • 5
2
votes
1 answer

Gitlab Container Registry timeout when connecting

Building an on-prem / self-hosted deployment of Gitlab for the first time. I've got the self-installation completed, single box and three dedicated hosts for runners (that I'm working to get them dockerized for docker-in-docker). Did this from a…
DavisTasar
  • 344
  • 1
  • 6
  • 16
2
votes
1 answer

How to share unix domain socket between containers without named volume?

I have two containers A and B which needs to talk via unix domain socket created by A in /var/run/notif.sock. I can't use named volume as sharing /var/run between containers is risky as it contains container's runtime data. Bind mount requires the…
Ankur Sao
  • 21
  • 1
  • 2
2
votes
0 answers

Docker: 'failed to open /dev/fuse: Permission denied' as non root user

What I want to achieve is to prepare Docker image in which every non-root user can make SSHF mount. MWE below: Dockerfile: FROM rocker/rstudio:4.0.3 USER root RUN apt-get update && apt-get install -y udev sshfs RUN mkdir -p /mnt/vol ## also…
Taz
  • 121
  • 3
2
votes
0 answers

Setting up Lavarel with Podman, but the php user can't write to my mounted directory

I've set up a laravel project on Fedora using Podman. For this I wrote a small script that attempts to replace the build process usually done by sail. #!/usr/bin/env bash if [ -f ./.env ]; then # Surce .env so Laravel's env variables are…
Buzu
  • 121
  • 4
2
votes
1 answer

Accessing different host's docker containers via portainer

I have a few containers (running various services) on my ubuntu server and i manage those containers via portainer, which is also one of these containers. I would like to also manage a pihole container (running on a different server (raspberry pi))…
2
votes
3 answers

How to use ss in specific network namespace

Whilst investigating some TCP network issues in containers I tried to use ss to peek into container network TCP stack. We are running Amazon Linux in AWS: # uname -a Linux 4.14.173-137.229.amzn2.x86_64 #1 SMP Wed Apr 1 18:06:08 UTC 2020 x86_64…
milosgajdos
  • 1,828
  • 2
  • 21
  • 30
2
votes
1 answer

how to stop MySQL container from initializing at start

For testing purposes I want to build a MySQL container that has a dataset bootstrapped into it. I know that mounting is possible and that you can place sql scripts into the init directory to run the import at start, but thats not what we want. So I…
2
votes
1 answer

Pod using Vernemq helm package cannot start

I'm using helm to install vernemq on my kubernetes cluster The problems is it can't start, I accepted the EULA Here is the log: 02:31:56.552 [error] CRASH REPORT Process <0.195.0> with 0 neighbours exited with reason:…
Lê Minh Quân
  • 301
  • 2
  • 13
1
vote
1 answer

docker | unknown environment `bash` | sub process /usr/bin/dpkg returned an error code(1)

My goal is to get a docker container running with nordvpn installed and connected. Get docker container going sudo docker pull ubuntu:latest sudo docker run -it ubuntu bash // now im in the docker container apt install update apt install wget wget…
ma77c
  • 115
  • 5
1
vote
1 answer

How to forward packets not destined for linux host to container

I am trying to do some traffic inspection on a lxc container in my host machine. My host machine is connected to a mirror port and being sent duplicate copies of the traffic of 4-5 other machines on a local network. I can see all the traffic from…
m00sef00t
  • 11
  • 2
1
vote
2 answers

whats the point in autoscaling containers

We are using vSphere technologies for virtualization and I am tasked with developing a scalable application infrastructure. I'm familiar more with AWS. Doing some research on scaling I'm not sure I understand the point in scaling containers like…
GolangFunk
  • 11
  • 2
1
vote
4 answers

OpenVZ Host is the source IP address rather than actual web surfers?

I am experiencing something a little bit odd. I'm running OpenZV on a CentOS 5 server. It appears that on containers the source IP address that say Apache webserver sees a request from is the OpenVZ Host's IP address rather than the actual surfer's…
1
vote
1 answer

Unable to mount NFS to a container

I need to set up an NFS server for my k8s cluster. I can set it up and mount it to a client running on bare-metal ubuntu but when I try to mount the NFS to a container (the client is an ubuntu 18.04 container) it fails with this error: $ mount…
AVarf
  • 449
  • 1
  • 6
  • 18