As of May 31, 2023, we have updated our Code of Conduct.

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

Can't resolve custom DNS name locally on a K3S Multi-Node Cluster

im an absolute DevOps novice and already had 3 full days of endless doc-reading, Youtube tutorials and trial and erroring to learn all those new concepts by myself and still cant make much sense of it....
maqz's user avatar
  • 1
0 votes
0 answers
23 views

Docker bridge host gateway doesn't work

My default bridge network isn't working properly. So I spinned up 2 containers, one is for mongodb and one is for ubuntu. These are the commands: docker run -d ubuntu bash docker run -d -p 27017:...
learningdudz's user avatar
-1 votes
0 answers
22 views

Synology onlyoffice docker error 502

On my synology NAS I have Nextcloud and I installed Onlyoffice docker. All was working but I change http to https for Nextcloud access and now Onlyoffice doesn't working (security). So I change my ...
Black_Syphilis's user avatar
0 votes
0 answers
18 views

Best way to trigger host to restart a docker container from inside another docker container?

I have a docker container that manages all of the SSL certificates for my services with Letsencrypt. When the certificate for a certain service is renewed, a post-hook script copies the certificate ...
lriley's user avatar
  • 9
1 vote
0 answers
19 views

Trouble to understand how networking works on nomad

Can someone explain why I can't access my website running in a docker container thru nomad or what I'm doing wrong ? I'm beginner in system and networking. I would like to make the container http ...
C Taque's user avatar
  • 123
0 votes
0 answers
22 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 ...
tnrgus's user avatar
  • 101
0 votes
0 answers
11 views

(111: Connection refused) while connecting to upstream nginx with docker

I am trying to dockerizing a angular universal app using nginx, and it's giving me really hard time. I have looked everywhere and haven't found a solution. Dockerfile FROM node:14-alpine AS builder ...
M Safdar Ali Khan's user avatar
2 votes
1 answer
62 views

Ngnix Reverse Proxy Setup SSL For Localhost In Docker

Using below docker compose.yml I am creating 2 containers and a reverse proxy container.. version: '3' services: # SSGTM Tag Server Container tagging_server_container: image: gcr.io/cloud-...
Sajjad Hossain Sagor's user avatar
0 votes
0 answers
19 views

kubernetes: could not find PersistentVolume hostpath on windows

kubernetes: could not find PersistentVolume hostpath on windows 11. kubectl describe pv/pvc-4a7bc0ff-9195-4f2f-bd70-9dfd1f8cd065 Name: pvc-4a7bc0ff-9195-4f2f-bd70-9dfd1f8cd065 Labels: ...
eastwater's user avatar
  • 103
0 votes
2 answers
29 views

Nginx strange upstream address after app restart

I have an application running in a container with an exposed port 8082. There is also an nginx configuration, part of which is shown below. In a normal situation, I see upstream: 127.0.0.1:8082 in the ...
Joe Doe's user avatar
  • 113
-1 votes
0 answers
22 views

Need a tool that can save and run the docker images in non-internet machines [closed]

I am currently working on a project which needs to be deployed on customer infra (which is not cloud) and also it will not have internet. Please provide some options where we can save all the ...
chakradhar dev's user avatar
1 vote
0 answers
18 views

View logs from short lived containers in docker stack

Similar to this question, but with the intricacies of the docker stack added. While debugging short lived containers on vanilla docker is "easy", you just do docker logs -f "...
Mr. Developerdude's user avatar
0 votes
1 answer
33 views

Can't pull a docker image on Cent OS server, but works fine on local Ubuntu OS

This command fails on a CentOS server but succeeds on an Ubuntu based laptop: # server, CentOS based $ docker pull jwilder/nginx-proxy:latest Error response from daemon: manifest for jwilder/nginx-...
davidparks21's user avatar
0 votes
0 answers
38 views

docker registry behind nginx reverse proxy with authentication and ssl

I'm trying to push images remotely to my private docker registry, which fails like this: $ podman push sub.example.com:5000/dummyimg sub.example.com:5000/rem/dummyimg Getting image source signatures ...
Yaroslav Alexeevich's user avatar
0 votes
1 answer
36 views

dockerd does not start debian

Linux OS: debian11 Everything worked, but I think today after sudo apt upgrade I installed new version of docker. Then docker daemon does not start: $ sudo systemctl start docker Job for docker....
K.I.'s user avatar
  • 123
-2 votes
0 answers
32 views

Why docker continuously writing to disk [closed]

I have a home server to mostly store and share personal pictures. It runs under Centos 9 stream and I use docker. The server is build with a SATA SSD for root, boot efi, ... partitions and 3 SATA HDD ...
luc.chante's user avatar
1 vote
1 answer
34 views

Two PHP sites under Docker + nginx cant communicate with each other

I am using Docker + NGINX to host two PHP sites. The sites are accessible from the outside but the problem arises when I try to access one site from another using cURL or file_get_contents. The ...
Rahat's user avatar
  • 11
0 votes
0 answers
54 views

Docker compose gitea remote ssh connection refused

I have setup Gitea on an Ubuntu server using this docker-compose config: version: '3.9' services: db: image: docker.io/bitnami/postgresql:15 volumes: - 'db_data:/bitnami/postgresql' ...
Alex Hope O'Connor's user avatar
0 votes
1 answer
17 views

Change the script path in an Apache proxy handler

I'm developing my application with 2 containers: apache and php-fpm. Apache serves requests, and delegates PHP execution to the php-fpm container in its vhost: <FilesMatch .php$> ...
amacrobert's user avatar
0 votes
0 answers
49 views

Docker installed from snap fails to receive remote network traffic

I have an API hosted on a docker image which worked in the past, but which now is failing to work except on the host machine. I can successfully run queries using either localhost or the machine's ...
Zorgoth's user avatar
  • 99
0 votes
0 answers
10 views

Optimzing Docker Builds with docker-compose.yml when using PostGres DB's, performance, etc

I just have a general about how best to build and manage DB servers when using Docker builds with docker-compose.yml. Historically, I've sometimes bound the Postgres DB's to a bound folder on the ...
SScotti's user avatar
  • 141
0 votes
1 answer
158 views

Installing docker/compose-bin plugin on Google's Container Optimized OS

I am trying install the docker/compose-bin plugin on a Google Cloud VM with Container Optimized OS (https://hub.docker.com/r/docker/compose-bin/tags). Has anybody achieved this? I understand docker is ...
supercoco's user avatar
  • 121
0 votes
1 answer
32 views

Cannot execute nested command on remote host over ssh tunnel

Im running the following command in my GitLab CI job: ssh ${REMOTE_HOST} "docker restart $(docker ps --format '{{.Names}}' | grep '^backend')" The problem is that it returns me the ...
Milkncookiez's user avatar
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 ...
serverstackqns's user avatar
0 votes
0 answers
86 views

Why does MySQL 5.7 inside a docker container always crash?

I have a MySQL 5.7 docker container that was provisioned via a docker-compose file, the file looks like this: version: '3' # Run command: docker compose --env-file .env.local up services: # ...
Budianto IP's user avatar
0 votes
0 answers
13 views

Apache Gateway to Dockerized FPM Container?

I have a dockerized app with a web fpm interface (monica:fpm-alpine), and a vps on the internet. I want my vps to be an https gateway to this app. I thought I could use a virtual host include file and ...
stav_nan's user avatar
  • 101
0 votes
0 answers
26 views

RabbitMQ connected dockerized Windows app stops consuming messages after some idle minutes

I have two Windows processes each in its own Docker container and they both publish and consume RabbitMQ messages. This is a proven app working on bare metal, but when dockerized it stops consuming ...
gitzko's user avatar
  • 1
-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 &...
KamilSz's user avatar
0 votes
0 answers
8 views

How to read the central Puppet Configurations in the Dockerfile

Currently, I am working on a project we are trying to containerize our application. As our current VMs build scripts are pulling the environment and application-related parameters via puppet file ...
cryptonkid's user avatar
0 votes
1 answer
46 views

Map subdomain to local IP through public IP

I want to map subdomain to local IPs on my machine to achieve a IP for each of my virtual machines. I know I can setup a DNS on my own machine but that will only resolve the domain on my own machine. ...
Arty's user avatar
  • 3
0 votes
0 answers
89 views

Auto renew LetsEncrypt cert with nginx under Docker

I'm having troubles setting up a auto renew for LetsEncrypt certificates. I run nginx under Docker container that serves Django application. Here is my docker-compose file: version: '3.8' services: ...
popcorn's user avatar
0 votes
1 answer
59 views

Why does curl inside Docker to a subdomain in the same Host use private IP address?

Consider I have docker-subdomain.mydomain.com pointing to a website in a Docker container, and host-subdomain.mydomain.com pointing to a website in the Host itself. Both these websites are in the same ...
Nuno's user avatar
  • 533
0 votes
0 answers
19 views

Iptable traversal with docker chains

Using this as a reference and this previous post, I attempted at creating a iptable packet processing flowchart when docker containers on the bridge network are considered. The flowchart is shown ...
akastack's user avatar
0 votes
0 answers
20 views

nginx/swag and FULLY ignoring unknown subdomains

I have a domain, let's call it foo.dev. If someone navigates to anything other than the subdomains I have site-confs for, I want it to look like there's nothing at all set up on the domain. If someone ...
user3534080's user avatar
0 votes
0 answers
79 views

Docker run failed: no space left on device "/dev/ptmx"

When I try to run any Docker container with an interactive terminal, I get the following error: $ docker run -it --rm my-container docker: Error response from daemon: failed to create shim task: OCI ...
Green绿色's user avatar
0 votes
0 answers
37 views

Docker container can't find express even though it is installed and the Dockerfile compiles fine

When I try to run a docker container from an image I just built using "docker run" Node.js can't find express even though it is installed and the Dockerfile compiles fine. Here is the output ...
Hassam Dauhoo's user avatar
0 votes
1 answer
90 views

using docker on linux with squid proxy. -- ubuntu 20.04

I have docker 20.10.21 installed from apt. The machine is not directly connected to the internet so we rely on our squid proxy. I have set up a daemon.json file: rful011@secphires01:~$ cat /etc/...
Russell Fulton's user avatar
0 votes
1 answer
31 views

Command that run fine... but give me an error when "piped" to grep, inside a docker RUN?

Sorry for the title, I really can't explain better. I'm learning shell programming. I'm trying to detect if Composer has a script named "post-install-cmd". To do that, one can call composer ...
gremo's user avatar
  • 339
0 votes
0 answers
25 views

NGINX waiting 60 seconds before processing request for NodeJS application

I have a NodeJS (ExpressJS) application containerized on Docker that is exposed through an NGINX reverse proxy also containerized on Docker. Sometimes, a request sent to NGINX takes 60 seconds before ...
mwryl's user avatar
  • 101
0 votes
0 answers
153 views

Docker Nginx serves all static content (none index.php) as 403 Forbidden

I'am trying to convert my personal development setup from local php/ nginx setup to a docker setup. Almost everything is working great, the only issue I'am having right now is that all static content (...
WiZu's user avatar
  • 1
0 votes
2 answers
1k views

How we Fix the APT repository errors Debian os

How to fix Fix the APT repository errors I'm using Debian GNU/Linux 9.13 (stretch), how can i fix this update error ?and import the Docker GPG key? root@test:~# apt-get update Ign:1 http://security....
santosh baruah's user avatar
0 votes
2 answers
127 views

Can't pull some docker images: Status 410

I have a server that started showing this strange behavior. When I try to pull some very common docker images like docker pull ubuntu:latest I get the following message as a response: Error: Status ...
ylima's user avatar
  • 133
0 votes
1 answer
24 views

Can't upload bigger file using Wordpress Docker and Nginx with configured Certbot

I configured Wordpress on Docker Image: version: '2' services: db: image: 'mysql/mysql-server:8.0' volumes: - 'db_data:/var/lib/mysql' restart: always environment: ...
Don Don Don's user avatar
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 ...
Vitalii Tsyhulov's user avatar
0 votes
0 answers
52 views

Persist Prometheus data from a Docker Container

I'm running Prometheus and Grafana from docker-compose and basically it works. But I don't get my prometheus data to persist on my host machine. As soon as I switch my volume settings from --- version:...
Sebastian Sommerfeld's user avatar
2 votes
0 answers
65 views

Change UID in influxdb Docker container when running in Kubernetes

When mounting persistent storage for influxdb container the NFS storage ownership is changed to uid 1000 when container is run. Need to have a known RHEL host user (2000) have ownership of the file ...
Ken E's user avatar
  • 21
0 votes
0 answers
67 views

How to forward WSL2 8080 to Windows host's 8080?

I have: a Spring Boot application running on Windows on 8080 and a service running in the Docker container within the WSL2 Ubuntu, and I'm loking how to enable the Windows host's 8080 to this ...
imy's user avatar
  • 101
0 votes
0 answers
50 views

I'm dockerizing my website setup. What is the best approach to send mails by PHP-FPM in a container?

So i've seen a couple of questions about setting up notifications for PHP-based websites, so i'd like to ask you for the best approach. For that, I have: a WordPress website with custom PHP packages ...
Radosław Serba's user avatar
0 votes
0 answers
531 views

Nginx upstream block host not found

I'm running a nginx container where it maps to another backend container. When I tried adding upstream block in nginx.conf which is like upstream backend_servers { server backend:8000; } The ...
snowlash's user avatar
0 votes
1 answer
101 views

Nexus docker repository - anonymous access to selected artefacts

Use case: allow to pull selected (e.g. tagged as *-public) Docker Images anonymously. Otherwise credentials are required. Given: latest Nexus 3.52.0, it works with a docker login and LDAP credentials ...
Aleksejs Spiridonovs's user avatar

1
2 3 4 5
83