Skip to main content

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
8 views

Docker nginx proxy with multiple websites Cloudflare SSL

I have been trying to setup SSL on my Docker Nginx server to no avail. Backstory: I have a VPS on which i run multiple dockerized websites. On the front i have the jwilder nginx reverse proxy server ...
Jim Bantanis-Kapirnas's user avatar
-1 votes
0 answers
9 views

Docker Engine Not Running After Modifying JSON Configuration for Remote Access

Docker engine not running after I change the JSON Configuration to { "hosts": [ "tcp://0.0.0.0:2375", "npipe://" ] }
Bryand Christofer's user avatar
0 votes
0 answers
22 views

How to Run Docker Commands on a Remote Docker Host from a React and Node.js Application?

I am working on a cybersecurity practical setup where users can execute Docker commands from a React frontend application. The backend is built with Node.js and uses Dockerode to interact with Docker. ...
Bryand Christofer's user avatar
0 votes
0 answers
19 views

How to exclude Docker processes from Process Snapshot output?

I want to list all processes running at the server except all processes running in Docker containers. So, for example I have Redis and Nginx at the server and MySQL and Apache running in Docker ...
palmasd1's user avatar
0 votes
1 answer
14 views

USG is reporting 'Server Reject' while APs and PoE switches are 'Connected' to Unify Controller in Docker

My USG isn't correctly adopted by my Unify Controller running in docker. My cloud key controller was failing so I moved the controller to a docker image on the home server (OpenSUSE) and most things ...
LovesTha's user avatar
  • 101
0 votes
1 answer
78 views

Building SAMBA AD DC container with Docker and Kubernetes gives wrong content to volumes

I am building a container for Kubernetes that runs a SAMBA Active Directory Domain Controller. I am doing the job through Ansible and the container is being deployed in a Kubernetes cluster (K3S). ...
Lasse Michael Mølgaard's user avatar
0 votes
0 answers
18 views

Any operation in remote docker context fails, while ssh works fine

On my local machine I am trying to use a docker context on a remote server like this: sudo docker context create contextName --docker "host=ssh://user@domain" sudo docker context use ...
shs's user avatar
  • 101
1 vote
1 answer
58 views

Is it possible to bring network interface back up after "ip link set eth0 down"?

I have a docker container running Ubuntu 18.04. I ran it with the following command, but if I turn an interface down, no matter what I do, even if it says the interface is up, I can no longer have any ...
codenamezero's user avatar
0 votes
0 answers
16 views

wordpress + wp mail smtp = email not sending with php mailer

I have a docker wordpress website with WP mail SMTP plugin. I selected the default PHP Emails are not sending. sending test email gives a 504 timeout error php sendmail is installed Dockerfile for ...
jotyhista's user avatar
0 votes
1 answer
51 views

Customise a configuration file from Dockerfile

I am trying to create a postfix container. What I want to do is to send emails from another container. Here is what I've done: FROM ubuntu:latest RUN apt-get update && apt install -y postfix ...
Bob5421's user avatar
  • 429
0 votes
1 answer
34 views

CRON bash script certbot renew hangs

I have this script in /home/user/renew.sh ( cd /home/user/website/ && docker compose run --rm certbot renew --dry-run && docker compose kill -s SIGHUP webserver ) sudo crontab -e */5 *...
jotyhista's user avatar
3 votes
2 answers
63 views

How can management efficiently handle 10 servers with the same stack?

I have a problem with my server structure. I have a scraper script on more than 10 servers. btw. This server is on a different provider, etc. Currently, I am installing the same library on each server,...
robokonk's user avatar
0 votes
1 answer
23 views

Docker on WSL2 (Windows) bind mount and restricted user

I have this my Dockerfile FROM ubuntu:20.04 RUN groupadd -g 65533 user \ && useradd -r -u 65533 -g 65533 user \ && mkdir -p /application \ && chown -R user:user ...
Maik's user avatar
  • 121
0 votes
1 answer
160 views

Docker container DNS resolution not working

I have a Docker container running on an ARM64 Rocky Linux 8.7 EC2 instance that cannot connect to the Internet, even if I start a container with --net=host. The host itself is able to access the ...
jackwise's user avatar
  • 259
0 votes
0 answers
58 views

How to route wireguard server traffic through a proxy?

I have two containers in my server, wireguard-server and cloudflare-warp which are deployed in the same host using: docker run -d --name=wireguard \ -e LANG=en \ -e WG_HOST=example.com \ -e ...
user1089796's user avatar
1 vote
0 answers
168 views
+50

Docker is utilizing 100% of the CPU on all cores of the host, yet `docker stats` indicates a usage of only 2%

I have a Debian 12 server with 2 CPU, 1.9 GB RAM, and Docker 24.0.6. After a reboot, CPU usage is at 0%. Starting a Docker container, CPU usage spikes to 75-100% on all cores of the host. Checking ...
hotips's user avatar
  • 523
0 votes
0 answers
56 views

Hosting passbolt container on server using nginx reverse proxy

I'm trying to host passbolt on my server using container setup; on this server I also have to host multiple websites, each with a different domain; so I thought of configuring an nginx reverse proxy ...
mic f's user avatar
  • 1
0 votes
0 answers
18 views

Identification of the container executing portscans

I have a VM running a bunch of docker containers. The VM is behind a firewall running crowdsec. Every few days or so crowdsec bans the internal IP address of the VM because of multiple ports being ...
Andreas Piening's user avatar
0 votes
1 answer
60 views

Memory cgroup out of memory: Killed process 10622 (unbound) total-vm:325984kB, anon-rss:319528kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:672kB

im seeing the following errors in /var/log/kern.log and im trying to figure out which container it relates too, any idea how i might do this? May 22 02:54:57 docker-02 kernel: [ 235.238815] Memory ...
daNutz's user avatar
  • 1
-1 votes
0 answers
42 views

Docker bridge network routing not working

The server has two networkcards. Over one there is access to the internet the other one is only connected to a private network with other servers. Netplan config: network: version: 2 renderer: ...
Zystrix's user avatar
  • 29
0 votes
0 answers
80 views

Block HTTP/HTTPS POST/PUT from a container

Is there a practical way to inspect HTTP/HTTPS and block arbitrary POST and PUT requests, from within a container, to the internet? (while still allowing GET requests) I had a look at eBPF but I am ...
Henrique Mendonça's user avatar
0 votes
1 answer
83 views

Podman "no route to host" when pushing to container registry with sudo, but works without sudo

I am encountering a problem with Podman on my system when I try to push images to a local registry. First, I start the registry container with sudo. $ sudo podman container run -dt -p 5000:5000 --name ...
Couim747's user avatar
0 votes
0 answers
74 views

Mailu email server: Let’s Encrypt does not request new certificate automatically

Using Mailu docker image, I built an email server on Debian 12. Whenever the certificate expires, I use docker compose down and docker compose up command so certificate will be renewed. What I ...
Ali Shefaee's user avatar
0 votes
0 answers
31 views

Constructing a container without duplicating data on disk

For Reasons*, I'm using a container to distribute a versioned Windows virtual machine file, which is around 40G in size. I've got the following command: echo -e "FROM scratch\nADD VM_2024-05-...
LordAro's user avatar
  • 121
0 votes
0 answers
41 views

Monitor Docker containers on EC2 instance from Splunk Enterprise

I need to monitor the Docker containers running on my EC2 aws machine on Splunk enterprise. I have installed Splunk and added Splunk forwarder to my EC2 machine and I am running a Docker httpd ...
proxyninoxy's user avatar
0 votes
0 answers
42 views

Phpmyadmin FPM don´t show any style with nginx

I have a small problem with Phpmyadmin-5.2.1-fpm and Nginx. It don´t show the landing page and all other pages not right. I only got Text to show on the loaded page. enter image description here I ...
Thorsten Otto's user avatar
0 votes
1 answer
26 views

Is it possible to use a Docker container as a build node without using the Jenkins agent?

I am trying to use an RHEL 5 Docker container to run Jenkins jobs, but RHEL 5 does not support anything more recent than Java 8. Is there a way to run a Jenkins job in this container without using the ...
Juan Jimenez's user avatar
-1 votes
0 answers
19 views

nginx can't find particular files which are actually inside a docker container

I want to reverse proxy a site hosted inside a docker container. but the nginx is running outside the container in the linux VM. The site is running at docker IP http://172.17.0.3 and port 3001. So I ...
Nirzak's user avatar
  • 1
0 votes
0 answers
23 views

Postfix install on docker desktop don't send email and I find no logs

I need to set up a postfix server to send emails. After a few searches, I stumbled upon this tutorial: https://www.linuxbabe.com/mail-server/setup-basic-postfix-mail-sever-ubuntu. Because I remember ...
Big_Boulard's user avatar
0 votes
1 answer
50 views

Script runs from CLI but not in CRON

I'm aware that this is a very vague question but I'm hopeful someone more knowledgeable can help. My setup is as follows: I have a simple node docker container I use it to run Node.js scripts from ...
Leonardo Petrucci's user avatar
0 votes
0 answers
42 views

Docker/WordPress in Sub-Path Redirects to Root

I installed WordPress+OpenLiteSpeed in Docker using this script, adapting it for my needs. I'm hosting the blog in /blog sub-path here. I added this to wp-config.php define('WP_HOME', 'https://www....
Etienne Charland's user avatar
0 votes
0 answers
57 views

Docker inside Jenkins Container running in EKS

I'm running a jenkins container in EKS and everything is working fine except when one of the pipelines has to build docker images. I've installed docker cli on my image but when i shell into the ...
user2051904's user avatar
0 votes
0 answers
61 views

Use 192.168.1.x on docker-compose

I'm installing an OpenVPN Docker container using docker-compose and I need to change the IP range from the default 172.17.0.0 to 192.168.1.x. I tried adding to the /etc/docker/daemon.json file: { &...
Piero's user avatar
  • 101
0 votes
1 answer
46 views

blocking all ports except SSH on a machine running a Docker container

I have a virtual machine (let's call it "M") on the cloud where a MariaDB database runs within a Docker container. The client apps on other machines connect to the database via a SSH tunnel, ...
bfredo123's user avatar
  • 103
0 votes
0 answers
47 views

Eclipse temurin as Java Build image and Google distroless as Java Runtime

We're currently working on a project where we're using different OpenJDK distributions for the build and runtime environments within Docker containers. Specifically, we're using the Eclipse Temurin ...
Ilham Sulaksono's user avatar
0 votes
1 answer
69 views

I can't wget on my public address from within my docker instance

I run a docker + traefik infra to host several appliances. My issue is that I can't wget (or curl) on my public address from any container but the traefik one. For example, I'd like to wget my https://...
jery's user avatar
  • 1
0 votes
1 answer
30 views

Mounting volumes in a Dockerfile

When I run a Docker container, I know that if I bind volume foo:bar, the contents of foo on the host will show in bar in the container. However, the --mount option of the RUN command in a Dockerfile ...
Juan Jimenez's user avatar
0 votes
1 answer
61 views

Bind mount two host directories to the same container directory without overriding its content, is it possible?

Is it possible to bind mount two host directories to the same container directory without overriding its content? I need to maintain the sources from the first bind mount + new ones (from the second ...
ReynierPM's user avatar
  • 722
1 vote
0 answers
269 views

CVE-2023-42366 in Alpine 3.19 images on vulnerability scan

I am building an image using base as alpine and vulnerability scans show the following : Impacted Fixed 3.19:ssl_client 1.36.1-r15 1.36.1-r25 CVE-2023-...
user14013917's user avatar
0 votes
0 answers
20 views

Kubernetes: Influxdb 1.8.10 container can’t create users

I deployed on docker InfluxDB v 1.8.10 with command: docker run --name influxdb -t -e INFLUXDB_HTTP_AUTH_ENABLED=“true” -e INFLUXDB_DB=“mydatabase” -e INFLUXDB_USER=“user” -e INFLUXDB_USER_PASSWORD=“...
Marco Ferrara's user avatar
0 votes
0 answers
58 views

sqlplus connected against docker is slow to return control when calling exit

I have a docker container running Oracle. When I connect to my database into my docker container: $ sqlplus -L sys/password@"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(...
Antoine Martin's user avatar
0 votes
1 answer
65 views

EFK Data is getting lost on pod restart

I am facing the data persistence issue for EFK setup when pod gets restarted. I have setup the master, data and client pod. Please have a look at below configurations. master.yaml apiVersion: apps/v1 ...
Wagh's user avatar
  • 101
0 votes
0 answers
132 views

How to troubleshoot "EOF" Docker pull error when working over VPN?

I am pulling image from the public Docker registry and getting the following error: % docker pull ubuntu Using default tag: latest Error response from daemon: Head "https://registry-1.docker.io/...
greatvovan's user avatar
0 votes
0 answers
41 views

MariaDb docker container data recovery

I am using MariaDb for the first time for new project, and I just encountered a problem with container crashing after image update. I have updated MariaDb image to latest version (11.3.2 ), but I do ...
Goran's user avatar
  • 153
0 votes
0 answers
63 views

High availability / load balancing methods for on-premises gateways for SaaS systems (gatway initiated connections)

While I have a specific setup I'm writing this as a general question so someone can bring some related ideas. I have a SaaS that uses a gateway inside my network to connect to my on-premises systems. ...
Iñigo García's user avatar
0 votes
0 answers
132 views

Nginx and Docker host names

I'm not sure if what I'm trying is possible but I create Docker containers on the fly and assign them a hostname such as abcde. Each container listens on port 3000 and a random port is assigned on the ...
tommyd456's user avatar
  • 113
0 votes
1 answer
72 views

What are the way to restrict a docker engine to specific repository?

I am searching for possible ways to restrict docker from accessing docker registries other than the one I would specify. I have found docker access management, but that is for docker business and only ...
MaatDeamon's user avatar
0 votes
1 answer
218 views

Nginx Proxymanager "map" directive is not allowed

I'm in the process of deploying my Django project right now, I have a server on digital ocean and I'm setting up and nginx proxy manager. I have added the SSL certificate for Portainer, and when I add ...
fifumain's user avatar
0 votes
2 answers
233 views

Nginx unable to find new certificate

I use Nginx in a Docker container on Alpine. Used Certbot to generate a new certificate named my.domain.com-0004. Replacing the certificate with either mv or cp resulted in an SSL protocol error and ...
Michał J. Gąsior's user avatar
0 votes
0 answers
21 views

Librephotos (and other apps) doesn't show dashboard after installation

I'm trying to install LibrePhotos with Docker on my remote server (running Arch Linux) and I am following the official guide After cloning the repo, and modifying the .env file with the correct paths, ...
Luca Lombardo's user avatar

1
2 3 4 5
87