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
0answers
6 views

tricky sendmail relaying on the same IP

I recently moved my postfix server on docker using the mailu image on my raspberrypi 4 (rasbian buster). I uninstalled totally postfix so as to be sure there are no remaining things that would ...
0
votes
1answer
22 views

504 Gateway Time-out on NGINX Reverse Proxy even though the container is up

I have the following Docker setup: jwilder/nginx-proxy for the reverse proxy jrcs/letsencrypt-nginx-proxy-companion for SSL (Let's Encrypt) custom WildFly container as the endpoint My problem is ...
0
votes
1answer
18 views

Using a dockerfile and/or docker-compose is there a way to run commands after a docker image launches?

I'm trying to configure a database container (PostgreSQL) and I want to configure some database settings by running SQL commands against the started instance. The RUN command in a dockerfile runs ...
-1
votes
0answers
13 views

How can I install Fedora Sever? [closed]

I installed Fedora 31 Server, installation was ok, then system rebooted and I get console, its ok, but it works slow, I can't update anything, and I see squares. How should I install Fedora Server 31 ...
1
vote
2answers
20 views

How to scale docker swarm dynamically

We have a docker container which can service only one request from user at a time. So, we want to scale up and down whenever there is a request from user. But in the docker swarm I can see only ...
0
votes
0answers
30 views

Docker File can't copy files to my docker

Hello I have a problem with my docker file regarding copying my machine files to my container my dockerFile: FROM node:lts-alpine ADD https://github.com/ufoscout/docker-compose-wait/releases/...
0
votes
0answers
10 views

SNMP: hrSystemUptime.0: Unknown Object Identifier (Sub-id not found: (top) -> hrSystemUptime)

I get the error in the title when I issue the following command. $ snmpget -v3 -u edgeos-snmpd-user -l authPriv -a SHA -x AES -A authPhrase -X privPhrase 192.168.x.x hrSystemUptime.0 hrSystemUptime....
0
votes
0answers
16 views

How to bind a port in a “host” network mode from a container run by a rootless dockerd?

I want to publish a port to my host from a container. The container is running in "host" network mode by rootless dockerd. My question is: how to publish a port to my host from this container (run in ...
0
votes
1answer
22 views

Docker causes VM to go dark

I'm running an Ubuntu 18.04 Virtual Machine hosted by Nutanix. Every so often, I will see an issue where a docker network will be created with docker-compose, and then the machine will go completely ...
1
vote
0answers
11 views

docker: logrotate is failing with missing directories in pattern

I'm using logrotate in a docker container. I'm injecting a bind volume into the container where logs should be rotated. The folder structure is more or less the same, this path /srv/apps is injected ...
0
votes
1answer
25 views

How to install docker-compose on Fedora CoreOS

I have been using Fedora CoreOS version 31.20200505.3.0 on digitalocean (image took from here https://getfedora.org/coreos/download?tab=cloud_operators&stream=stable) Default user core, but need ...
1
vote
1answer
18 views

Setting up a docker registry on EC2 instance

I want to set up a private registry on an AWS ec2 instance, in such a way that I could securely push images, and our clients could securely pull them (but not push). Right now I tried to do so with a ...
0
votes
0answers
25 views

Control startup with docker-compose-wait postgres

Hello I'm trying to use a script to start my container node after my pg with this: #building code FROM node:lts-alpine ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.7.3/...
1
vote
0answers
18 views

apt-get install returned a non-zero code: 100

I'm trying to get forked-daapd to compile in a docker container based on hassio-addons/addon-debian-base which is debian buster slim with a few pre-configured packages. All of my apt-get install are ...
2
votes
1answer
62 views

Finding out why service being terminated

Using journalctl -u docker I noticed May 30 10:01:43 xxx systemd[1]: Stopping Docker Application Container Engine... ... docker specific error log in between ... May 30 10:01:51 xxx systemd[1]: ...
1
vote
1answer
72 views

boot script for linux EC2

I have RHEL 7.5 Linux EC2 machine.It has below userdata. #cloud-config rumcmd: - hostname "2CPV-PQ-XX6901" - echo "2CPV-PQ-XX6901" > /etc/hostname - authconfig --update --disablesssd --...
0
votes
0answers
11 views

Running Docker CE on Windows 2019

I'm looking to run Docker on a Windows 2019 Server. I've seen on Docker's website that it's available as part of a Docker EE. Having followed the links, it seems to suggest that this at some point ...
0
votes
0answers
12 views

Apache Traffic Server not resolving DNS from /etc/hosts

I'm running a Apache Traffic Server (ATS) inside a container with extra hosts. my issue is that ATS isn't able to resolve any of them. Each extra host (--add_host) is added to the container /etc/...
0
votes
0answers
9 views

nginx fails to load assets

I have an ubuntu server running with nginx on it and Docker containers with both MySQL and php-fpm. I've managed to get Nginx to use the docker container for php-fpm. The root for the docker container ...
-1
votes
0answers
4 views

implementing a mongodb as a container

The app im creating is divided into micro-services and one components in the system is the mongoDB, currently iv'e implemented it on a container for development but my partner thinks that for the prod ...
0
votes
0answers
22 views

nginx cant connect to docker php-fpm

I am running nginx on the server and not within a docker container because of troubles with getting a working SSL. I have a docker container set up separately running my-sql and php-fpm. When I have ...
0
votes
0answers
12 views

how do you customize the errors returned by traefik v2 ? (bad gateway)

I use traefik v2 with docker. the whole configuration is in the labels. I have 3 services in my docker compose. traefik a normal node project with lots of html pages and some 404 pages and some 503 ...
0
votes
1answer
36 views

AWS- Build a Modern Web Application(Mythical Mysfits)-Error with Docker Image

I am new in the area of network and server management with zero experience. I am trying to learn from the tutorial "MythicalMysfits" from AWS. The other post helped and I updated pip to pip3, but now ...
0
votes
1answer
224 views

How to import data into a MariaDB instance running in a Docker container?

I'm setting up a server to host a wordpress site and I have wordpress + mariadb + nginx all running in Docker very well. I can create and configure a new site in Wordpress and its all successful. I'd ...
1
vote
0answers
26 views

Differences of Docker vs. Docker-Compose attaching to user-defined bridged network

Environment I'm trying to setup User-Machine: dockerized VNC-connected containers (in Docker network vm_network) for different purposes These should be connected by the user using Guac: Apache ...
0
votes
1answer
19 views

How to interpolate Jenkins environment variables inside Dockerfile?

I have a Jenkins pipeline, One of the stages of the pipeline is to build the artifact from a java application code. The artifact always get the name hello-world-${BUILD_ID}.war using BUILD_ID jenkins ...
0
votes
0answers
79 views

apt-get update: Temporary failure resolving '*.debian.org' In Docker Container

I am on CentOS 8. The second step in my Dockerfile tries to update the system, but for some reason, it keeps saying that it is having trouble resolving deb.debian.org and security.debian.org, so the ...
0
votes
0answers
13 views

Partition at 51% with df while folders are empty? [duplicate]

I need some help on this one. I use a test server which is Debian 10 with Docker's containers (all these inside a XCP-NG server). # df -h Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur /...
0
votes
1answer
29 views

Slab SReclaimable memory can not be recycled?

CentOS Linux release 7.2.1511 (Core) Linux version 3.10.0-514.26.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP TueJul 4 15:04:05 UTC ...
1
vote
1answer
30 views

Is it possible to have a failover/backup docker registry?

Since the failure of quay.io last week everyone in the company recognized how important is the service. And this raised this question on my head: If this happens again, how can my infrastructure be ...
0
votes
2answers
25 views

Can't ping / access docker host on 172.17.0.1 from inside a container

My docker host listens on 172.17.0.1. I can curl it from the host machine, but when I curl the same ip/port from within the container I get timeout. I can ping anything from withing the ...
1
vote
0answers
40 views

Keycloak takes a long time to wake up if unused during a day or more

I installed Keycloak with a docker compose, behind an NGINX reverse proxy. Keycloack is only installed now for testing. When I stop using it for a days or more, next time I have a "Request Time-out" ...
0
votes
1answer
41 views

Unable to write to `stderr` or `stdout` from Kubernetes pod to pod logs

I'm trying to debug why my application logs aren't being picked up by Promtail for ingestion into Loki. In order to exclude the complexities of my PHP application logging being the culprit, I'm ...
0
votes
0answers
27 views

nginx shared memory space on docker swarm for rate limiting

I have a docker swarm setup across multiple nodes (6 to be exact) that has 3 containers running nginx. I want to rate limit my authentication endpoint using the nginx built in limit_req_zone ...
0
votes
1answer
18 views

docker logging container not reading docker logs

new to docker.... so got a few containers running and i want to run a logging container to collect all the logs up and send them to Rapid7. the rapid7 container is working as its sending stats to ...
0
votes
1answer
53 views

Enable gzip with docker and bitnami/nginx

I deployed a website with docker and bitnami/nginx as image: https://www.10studio.tech/demo. After deployment, I realized that files like analyzejs.js was not gzipped: Here is docker-compose.yml: ...
0
votes
1answer
61 views

SSH tunnel on background disconnects immediately in a Docker container

I'm trying to connect my app running in a docker container to a database through a SSH Tunnel. My dockerfile is something like this: # Alpine, PHP7.4, Nginx FROM richarvey/nginx-php-fpm:1.9.1 EXPOSE ...
0
votes
1answer
20 views

Apache reverse proxy 503 custom page not working

I am running a docker container with exposed port 8001 on my host. The host is reachable from the host with localhost:8001. I am also running an Apache server on port 8000. My Apache configuration ...
0
votes
0answers
34 views

Can not stop tzdata asking for user input during docker-compose build

I've tried several things including ENV DEBIAN_FRONTEND=noninteractive ENV TZ=Europe/Lnndon RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone But whatever I ...
0
votes
0answers
10 views

hetzner private network, 1 docker host, 1 pfsense, I keep getting “TCP Previous segment not captured” from my containers

this is the network design https://imagebin.ca/v/5NNDpuDwq9PT it's hosted on hetzner, 1 firewall with a public facing interface, pfsense. 1 docker host with two interfaces, one connected to the ...
0
votes
0answers
9 views

How can I remove docker, from CentOS 7, after yum update

The docker package are coming as default on recent updates of CentOS 7. How can I remove every single mention and installation after I do the update on my servers? I tried ''' yum remove docker....
0
votes
1answer
40 views

Is java:openjdk-8-jre an offical docker image

I could pull java:openjdk-8-jre with docker pull java:openjdk-8-jre command. But I can't find it out in https://hub.docker.com/. I can't find a page for java like other official images, e.g. openjdk. ...
0
votes
0answers
32 views

Why can't set add-apt-repository when install Docker EE?

I registered a docker enterprise trial content. Follow this guide to install it on ubuntu 20.04 https://docs.docker.com/ee/docker-ee/ubuntu/ But when did add-apt-repository, got error. set env ➜ ...
2
votes
1answer
298 views

docker in linux EC2

I have installed docker from binaries in my Linux EC2 machine.Now everytime the server reboots i need to run below commands sudo docker & sudo chmod 666 /var/run/docker.sock Otherwise it give ...
0
votes
0answers
7 views

Accessing log files within linux container in Azure App Service

This may be a simple question but I find the Azure documentation vast and a bit vague to advice would be appreciated. So I've got docker container running in Azure app service. I have a linux ...
0
votes
0answers
8 views

Time-based rotation of Docker logs

We are running a stack of Docker Swarm services and, according to our Privacy Policy, we have to keep logs only for the last 6 months, but no older. I was trying to achieve it through different ...
0
votes
0answers
14 views

How to build Docker images deterministically?

FROM alpine RUN ["/bin/sh", "-exo", "pipefail", "-c", "apk update; rm -vrf /var/cache/apk/* /lib/apk/db/lock /lib/apk/db/.wh.lock"] I build this one two times in a row and the second layers differ. ...
0
votes
1answer
32 views

PHP-FPM: “NOTICE: the log buffer is full (1024). The access log request has been truncated.”

Running the official php:7.3-fpm-alpine Docker image. I'm getting the following output on the console: NOTICE: the log buffer is full (1024). The access log request has been truncated. A custom ...
0
votes
0answers
8 views

Docker external network affecting local host network on container restart : ERR_NETWORK_CHANGED

I am facing a weird issue with the docker networks. I am using an external network of bridge type named extenal_network in my docker containers with auto-restart enabled. I am not able to access my ...
0
votes
1answer
70 views

Kubernetes Pod OOMKilled Issue

The scenario is we run some web sites based on an nginx image in kubernetes cluster. When we had our cluster setup with nodes of 2cores and 4GB RAM each. The pods had the following configurations, cpu:...

1
2 3 4 5
59