Questions tagged [docker]

Docker is an open source project that automates the deployment of applications inside software containers.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

How do I run bind9 in Docker for hosts in the host's network without running the container on the --host network?

I have been running my bind9 container like this docker run -d --restart unless-stopped --name=bind-npc --net=host fdd8a620fe2efdd8a620fe2e but the Docker docs say this is insecure so I need to make ...
mr.zog's user avatar
  • 931
0 votes
0 answers
19 views

Random CPU + MEMORY spikes issue on Ubuntu server + Docker + PostgreSQL

I've been encountering an issue that has been bothering me for a while now. I have a Google Cloud VM running an Ubuntu 18.04 server with several containers, including a PostgreSQL server, a Redis ...
user586883's user avatar
0 votes
1 answer
18 views

Map network drive to unavailable network share

I'm trying to build windows container with predefined network drives. When I add RUN NET USE Z: \\myfileserver\sharedfolder, I get error: System error 67 has occurred. The network name cannot be ...
Liero's user avatar
  • 101
0 votes
0 answers
13 views

Containerd can`t find the image in the private registry, so k8s can't get the image for the container

I try configure k8s cluster. I have private docker registry on the nexus server and try pull image from it. When i use docker pull all work correctly, but when i use helm for deploy my app, i have ...
discreight's user avatar
0 votes
0 answers
11 views

Cant build php7.0-fpm dockerfile The repository Release file

docker build -t php7-fpm-custom . build on ubuntu 22.04 minimal Reading package lists... W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release ...
dr.ipkins's user avatar
0 votes
0 answers
28 views

How to create a new admin user in Portainer at the shell?

I've newly joined a team having root access to a Linux based Docker host with Portainer up and running on it. That whole setup was implemented by someone not available to the company anymore and ...
Thorsten Schöning's user avatar
0 votes
0 answers
11 views

GPG Signature error when running apt update in a jammy docker container

The following error breaks my docker image build 0.511 Get:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease [270 kB] 1.281 Err:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease 1.281 At ...
Anadi Misra's user avatar
0 votes
0 answers
31 views

How to run a kubernetes pod as NFS server?

I have the following problem: We have an S3 Minio Storage with a dataset consisting of ~600k files which amount to around 1.3Tb of storage space On our Kubernetes cluster I want to run a training ...
Roland Deschain's user avatar
0 votes
2 answers
43 views

Is it possible to run Docker on a hypervisor type 1?

Is it possible to run Docker bare metal on a type 1 hypervisor such as VMware and Hyper-V? Docker uses that same kernel as the host. So if the hypervisor is based on linux, does that work? Is there ...
luckyluke's user avatar
-1 votes
0 answers
18 views

Begin PHP development again [closed]

It's been years since I seriously coded PHP, but now I'm starting to feel like it again. Back then I had a linux server VM with LAMP installed on my network where I could store my code over a Samba ...
The Tech Guy's user avatar
1 vote
1 answer
36 views

Invalid response from .well-known/acme-challenge/<token> : 404 + nginx

I have seen these questions (^,^,^,^), but unfortunately none of them could solve my problem. I'm trying to use certbot to obtain an SSL certificate for one of my subdomains. However, the challenges ...
Arani's user avatar
  • 338
0 votes
0 answers
27 views

Install SSL Certificate for Docker Container on EC2

We are running an NGINX Server on a Docker Container which is hosted on an EC2 instance. Our Domain is registered with Amazon Route 53 but it seems like, there is missing an SSL Certificate on Docker ...
Flo Sojer's user avatar
-2 votes
1 answer
23 views

Local Server connection to internal Mail-Server and SSL

I work in a company that has a pretty strict policy regarding the separation of internal and internet. I got a server for our branch office, I have a static IP for our internal network but no domain. ...
Jaran's user avatar
  • 97
2 votes
1 answer
63 views

403 from Google certificate endpoint when using IPv4

I am using the library google-auth~=2.28.1 to enable "Login with Google" in my webapp. The login works on my local computer and on the test-server (hetzner), but on the prod-server (also ...
Nikolai Jay Summers's user avatar
2 votes
0 answers
47 views

What is the risk of directly accessing /var/lib/docker/volumes/<volume_name> data?

Over the years I have been using docker for self-hosting, I never really cared about mounted volumes because I did not see real advantages vs mounted folders (I know about advantages related to ...
WoJ's user avatar
  • 3,657
0 votes
0 answers
20 views

Error "The connection to the server was refused - did you specify the right host or port?"

I'm new to K8s. I'm configuring a K8s cluster on EC2 and I've started by installing docker, then started: systemclt start docker Installed kubeadm on the EC2 instance: (https://v1-28.docs.kubernetes....
M.rob's user avatar
  • 1
0 votes
0 answers
34 views

How to configure a docker compose file so that it sees both user-defined networks and the default ones?

Summary of the problem I use a reverse proxy (caddy) in order to serve my application (helloworld) though a specific docker network (srv) that connects my containers and the reverse proxy. It is ...
WoJ's user avatar
  • 3,657
1 vote
1 answer
43 views
+150

Grafana Agent in Docker runs perfectly for over a week and then suddenly stops working. When we check, the Data folder is gone

We have deployed the Grafana Agent using the official Docker image to send metrics of our server and containers to Grafana Cloud: docker run \ -v /etc/grafana-wal:/etc/agent/data \ -v /etc/grafana-...
Alvaro Bataller's user avatar
0 votes
1 answer
25 views

Why can I connect to the docker daemon with sudo, but not root?

Consider the following sequence of commands. When I try to connect to the docker daemon as a regular user, or root, I can't. When I use sudo (both as a regular user and root) I can. Why is this? [john@...
ThatDataGuy's user avatar
0 votes
0 answers
31 views

Docker daemon inactive (dead)

I am having trouble with my Portainer GUI. I can't seem to find my local environment. As a solution, I changed some parameters in the 'docker.socket' file on my Ubuntu server. However, this seems to ...
harrymillz's user avatar
1 vote
1 answer
71 views

Make Docker Compose available to non-root user?

I've created a non-root user (userB) on my Ubuntu Linux 22.04.4 server for an application and added them as a member of the docker group. When I try checking the Docker Compose version as this user, I ...
Dan Herbert's user avatar
0 votes
0 answers
31 views

Cors issue when deploying a mernstack app on minikube

I have a mern stack app (react vite + nodejs) web app that is working fine as i enabled cors middleware to allow my frontend to send requests to the backend but the problem is when i tried to deploy ...
Achref's user avatar
  • 1
0 votes
0 answers
36 views

Data written to PVC using job pod is not available in main POD

I have a job pod with a bash script that executes and writes data to the PVC, however, the same data is not available when I check in from the main POD, both the deployment & job use the same PVC, ...
Naveen Naidu's user avatar
0 votes
1 answer
27 views

How to Configure vcluster to Use Internal Docker Registry Certificates?

I'm setting up a vcluster instance and I want it to use images from an internal Docker registry available at docker-registry.docker-registry:5000. On regular Kubernetes nodes, I usually configure this ...
Fabrice Jammes's user avatar
0 votes
1 answer
168 views

GitHub action runner with containerd - /var/run/docker.sock not found error

I'm running a GitHub self hosted action runner which uses the docker cli but the host I am running it on is using containerd as the runtime. docker is installed, except there is no active /var/run/...
Justin's user avatar
  • 5,438
1 vote
1 answer
44 views

Docker image expands vastly on extraction during pull, unable to pull docker image

System Information Our company runs an application packaged in a Docker image based on arm32v7/python:3.11-bullseye image, which is around 800MB in size, on embedded Linux devices (Debian 9 OS) on-...
Sobek Sage's user avatar
0 votes
0 answers
139 views

How to access a docker-compose container running with Minikube?

I used to setup and run some containers in my local machine with docker-compose with the Docker daemon running via Docker Desktop. I uninstalled Docker Desktop (due to licensing issues) and installed ...
blackgreen's user avatar
0 votes
2 answers
47 views

Why Docker doesn't throw error if I delete my SQLite database using bind volume mount?

So I have a project using Next.js + SQLite + Litestream (Database Backups on Cloudflare R2) + Docker & I tried to perform database delete on /data folder on container (./data/ on disk) to see if ...
deadcoder0904's user avatar
0 votes
0 answers
101 views

Cloudflare WARP not allowing telnet to 127.0.0.1 3306

I've recently started having issues with cloudflare WARP. I have the following setup. Ubuntu 22.04 Cloudflare-warp Version: 2024.2.62-1 Docker: 1.5-2 When I connect to warp I have no problem accessing ...
aoa's user avatar
  • 1
0 votes
0 answers
33 views

Website redirects are not working when using Pihole on docker instead of VM

I’m currently in the middle of moving some infrastructure to containers from a ton of VM’s running simple things. I’m trying to move our pihole DNS server to a container. All was working well, until I ...
Tayotoka's user avatar
0 votes
1 answer
67 views

Nginx automatically redirect to add a trailing slash

In my nginx config i have a location block for a subpath: location /documentation { alias /usr/share/nginx/html/documentation; index index.html; try_files $uri $uri/ /...
Jonas Stasseyns's user avatar
1 vote
0 answers
53 views

Unable to connect to remote Dockerized MySQL container from local machine

I'm unable to connect remotely from my local machine, everything worked well but suddenly it won't let me to the mysql database anymore. I tried every possible combinations, but none of them worked ...
aspirinemaga's user avatar
0 votes
1 answer
91 views

Nginx container running inside docker on custom network allow / deny not working

I have a docker compose file with this in: nginx-proxy: image: nginx:1.18.0-alpine restart: always ports: - "80:80" - "443:443" networks: - ...
webnoob's user avatar
  • 465
0 votes
0 answers
37 views

Can I run a DHCP server using Docker Swarm?

I am using PiHole inside Docker as my DNS server, I want to enable the DHCP server functionality but I am running in Docker Swarm and I am not certain if it can handle broadcast requests at least it's ...
Archimedes Trajano's user avatar
0 votes
1 answer
33 views

Jenkins / Docker scanning for docker port on multiple IP's

I've had a message from my host provider explaining that my server has been scanning other IP's belonging to them (the host provider, not my servers). The data they sent is this (and more for about a ...
webnoob's user avatar
  • 465
0 votes
1 answer
83 views

Can a Docker container run as a Jenkins build node with both Java 11 and Java 8?

I have a customer who is excited about the idea of Docker containers as Jenkins build nodes, but a few of their pipelines still have dependencies on Java 8. Can a Docker container have Java 11 and ...
Juan Jimenez's user avatar
0 votes
1 answer
124 views

Apache Guacamole + Portainer + Nginx Proxy Manager + Cloudflare

maybe somebody could help with this... My setup: Qnap TS-664 Docker containers (Portainer managed) Domain at porkbun (lets call it example.com) Cloudflare DNS: A Name: example.com C Name: Name: nginx, ...
John Smith's user avatar
0 votes
1 answer
128 views

Kubernetes namespaces vs Docker namespaces

Linux kernel offers a feature called namespaces. Docker containers are isolated with this feature. There is also a "namespace" feature on kubernetes. Does it rely on Linux kernel namespaces ...
Bob5421's user avatar
  • 361
0 votes
0 answers
54 views

Bind9 on Docker can't resolve on host

I have a PC on my local network that will run services that I want to access with URL's instead of IP's. I have followed many guides and articles on how to use Bind9 (and dnsmasq) but always get stuck....
Jonas Birkelöf's user avatar
0 votes
0 answers
37 views

Setting Up Lua Records for GSLB with PowerDNS in Docker

I am working with a PowerDNS setup within Docker that currently manages zones through files and responds with A records. My goal is to implement Lua Records for GSLB (Global Server Load Balancing) ...
Jay's user avatar
  • 1
1 vote
1 answer
125 views

Can't get nginx resolver to work

I'm facing issue with nginx when a container in network change his IP , i can access it in Linux OS But nginx didnt resolve the new IP... I searched alot about a solution and i see that nginx tell us ...
Rafael darkxp's user avatar
0 votes
2 answers
76 views

in wireguard there is no access to some dns

I am implementing a docker with wireguard on a Linux ubuntu20.04 server as it says in its official documentation at https://github.com/linuxserver/docker-wireguard The clients cannot access certain ...
Miguel Duque's user avatar
0 votes
1 answer
199 views

Dockerized http services are not accessible from nordvpn meshnet

I am setting up a home server (using ubuntu server 22.04) with several services deployed on various ports. For example, my homepage server is deployed on port 3000. When on the local network: Ssh ...
matthieusb's user avatar
0 votes
1 answer
70 views

Monitoring the actions performed to my docker container

Is there any way to monitor the operations performed on my docker container? So, i have a docker container with name web. Now i want to check if anyone performs docker exec , docker cp etc , i want to ...
Ravi Teja RVN's user avatar
1 vote
0 answers
54 views

Traefik, docker swarm and portainer. Serving robots.txt file

I'm playing around with my homelab and I'm trying to include robots.txt file. I'm launching traefik and portainer using this docker_compose file. This is using Docker swarm mode version: "3.3&...
Adam Radomski's user avatar
1 vote
0 answers
59 views

How to initialize kubeadm in a non-default network interface?

I have been trying to set-up Kubernetes in my university server which has two network interface. The default interface (10...*) is connected to my university network and there is another interface (...
Sadman Amin's user avatar
0 votes
1 answer
96 views

"doas" not working in alpine 3.18 container

I can't get the doas command to work in an alpine 3.18 based container: ~$ cat /etc/doas.conf permit nopass :users as root cmd /test.sh ~$ id uid=1000(me) gid=1000(me) groups=100(users),1000(me) ~$ ...
Iruwen's user avatar
  • 1
0 votes
0 answers
25 views

limit container connection on specific ip address

I just run a container on 8000:8000 my server 192.168.1.10 so if I run curl 192.168.1.10:8000 from another server (like 192.168.1.50) it will return hello-world from my API. I want to limit the ...
Mahdi's user avatar
  • 1
0 votes
2 answers
74 views

Restrict docker container

I am new to docker. We have a requirement to host our app in client's environment. So, I have to restrict the shell access and no one should be able to extract the code. I have tried to restrict shell ...
Ravi Teja RVN's user avatar
0 votes
1 answer
89 views

Can't run systemd inside docker container on specific host

I'm migrating a containerized deployment from a Ubuntu 20.04 host to a Ubuntu 22.04 one. The container runs systemd, and it works fine in the 20.04 machine: $ docker run -i -d --name test-cvmfs-...
Nicola Mori's user avatar

1
2 3 4 5
86