Questions tagged [docker]

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

Docker is an open source project that automates the deployment of applications inside software containers. Docker extends a common container format called Linux Containers (LXC), with a high-level API providing a lightweight virtualization solution that runs processes in isolation. Docker utilizes LXC, cgroups, and the Linux kernel itself. Unlike traditional virtual machines, a Docker container does not include a separate operating system, instead it relies on the operating system’s functionality provided by the underlying infrastructure.

4147 questions
2
votes
0 answers

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" error, I need to refresh the page two times…
Tom DARBOUX
  • 121
  • 1
2
votes
1 answer

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 me below error Cannot connect to the Docker daemon at…
AWS_Beginner
  • 181
  • 5
2
votes
0 answers

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 logging drivers, but all of them (AFAIK) work only with…
2
votes
1 answer

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 access.format is configured in the www.conf…
Orlando
  • 151
  • 1
  • 8
2
votes
2 answers

Shutdown all docker containers

I just discovered that service docker stop on Ubuntu 18.04 doesn't shutdown all running containers. I can't control them anymore but the containerd-ship processes and everything that's inside the containers is still running (but not reachable…
Daniel Alder
  • 545
  • 1
  • 10
  • 19
2
votes
1 answer

Nginx letsencrypt certificate permission denied

Context I'm running an nginx instance in an alpine docker container (nginx:stable-alpine). The goal is to use nginx as a reverse proxy for one (or multiple) docker containers which only have HTTP and turn them into HTTPS with this outside-facing…
h345k34cr
  • 121
  • 1
  • 3
2
votes
1 answer

How to read docker json log files in a readable format?

I always back up docker json log files when I deploy a new image version. Is there a linux program or command that lets me browse the log output from backed-up json log files in a readable format like when you use "docker logs"? or a broader…
Mise
  • 23
  • 3
2
votes
1 answer

Http-01 Challenge failed and Connection refused

I just bought a new server, and want to follow this for www.pretty-formula.com. Here is the record I added to pretty-formula.com: In the server, ufw status returned Status: inactive. After putting pretty-formula.com in related files, I got this…
SoftTimur
  • 337
  • 2
  • 8
  • 16
2
votes
2 answers

ownership of created volumes in portainer

I'm new to using Docker & Portainer. I created a stacks using portainer, and added persistent volumes for the different apps through the same docker-compose. My issue is that when editing and then saving the files created in those volumes (for…
Mael Abgrall
  • 131
  • 4
2
votes
1 answer

Windows Container on EC2 unable to connect to http://169.254.169.254/latest/meta-data

Cannot figure out why my docker container running on Windows Server 2016 is not able to hit AWS instance metadata endpoint for its host. On Linux I do not encounter these issues with pulling the metadata for the host of the container, however I am a…
gespi
  • 21
  • 2
2
votes
1 answer

Can i install a driver in Windows Server Core docker container?

We have an app that requires a driver. As an experiment and for testing purposes, we thought to deploy it using a docker image based on mcr.microsoft.com/windows/servercore:1903-amd64. The host operating system is Windows 10 1903 which is a dev…
oleksii
  • 266
  • 1
  • 3
  • 11
2
votes
1 answer

Docker Compose file — limit restart count

In my docker-compose.yaml I am saying to alway restart app service app: build: . image: app:latest ports: - 3000:3000 restart: always volumes: - "./:/usr/src/app" This works, but in case of permanent error (eg.…
Mailo Světel
  • 233
  • 4
  • 10
2
votes
1 answer

Run docker in an existing network namespace?

Would it be possible to run a docker container inside an existing namespace ? I created a namespace using: ip netns add client Now I want to run a container (with a bridge or host network, whatever is possible) inside that namespace ?
SandiJ
  • 31
  • 1
  • 5
2
votes
1 answer

what can cause Nginx "Connection reset by peer" when upstream is healthy?

On an AWS Beanstalk deployment (single server) the Nginx server talking to the NodeJS/Express server on the same host occasionally complains about lost connections to upstream. 2020/03/23 10:52:43 [error] 11443#0: *70 recv() failed (104: Connection…
Udo G
  • 443
  • 4
  • 9
  • 20
2
votes
2 answers

rsync command works in terminal, fails in rundeck

I'm trying to use rundeck to rsync files in a docker container volume to an offsite server. I can impersonate the rundeck user and run the rsync command in a terminal window just fine. When rundeck executes the same command I will get an Unexpected…