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
1
vote
1 answer

docker nginx proxy with poste.io mailserver

I was wondering wether it is possible, and if so, how I would achieve running both nginx-proxy and poste.io mailserver on one dedicated server? I can run both seperately, but when I try and run both at the same time it says I can't run the latter…
killstreet
  • 83
  • 1
  • 9
1
vote
2 answers

What is the recommended way to setup Docker on a multi-drive server in a fault tolerant mode?

I have a server with 4 250GB sata drives on regular sata controllers. I would like to setup Docker on some sort of fault tolerant file system so that if one of the drives fails the whole thing doesn't collapse. I'm pretty sure it's probably not…
Frank Barcenas
  • 605
  • 6
  • 18
1
vote
2 answers

Docker Composer - Failing to run my webapp and mysql images

I am new to docker and I am struggling to have the below scenario working: I have a working webapp image that uses alpine with tomcat 9 as a base image and a added my web app along with a series of user libraries. Then I have a database image with…
1
vote
2 answers

Redirect ephemeral port to 80

I am starting in AWS and server management in general and just set up a deployment pipeline with ECS and some containers. My container : My host port is 0 and redirected to container port 4200 (Angular default port) Is behind an Application Load…
1
vote
1 answer

PHP-FPM and PHP execution yields different results

I have used a docker container with the embedded php server for development. Now we are creating a test environment and we wanted to use php-fpm. Everything went fine and the whole thing works as expected, with one difference - ImageMagick. The same…
Krystian
  • 306
  • 1
  • 6
  • 19
1
vote
1 answer

Trying to set date time within ubuntu based docker container

Within my docker container I run: root@77defb7a21e5:/# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.9 (jessie) Release: 8.9 Codename: jessie root@77defb7a21e5:/# date Tue Aug 7 16:54:14…
Jose Cabrera Zuniga
  • 179
  • 1
  • 3
  • 11
1
vote
1 answer

Nginx on docker - Vary: Accept-Encoding header is missing

I'm serving a static website from nginx that runs on a docker container which is based on nginx:alpine base image. My DockerFile: FROM nginx:alpine COPY --from=angular-built app/dist/dayTwoApp /usr/share/nginx/html COPY ./default.conf…
Rot-man
  • 327
  • 2
  • 9
1
vote
2 answers

nginx server redirecting to 2 different containers based on path for laravel

I am trying to do the following: I have 2 docker php-fpm(no nginx) containers with the same directory structure but with different versions of code. Now I have another container with nginx in it. When the requests goes to foo.com/ it should go to…
defiant
  • 121
  • 7
1
vote
1 answer

gcsfuse in Google App Engine flexible custom runtime

I'm trying to use gcsfuse to mount GCS buckets in a docker container deployed in a GAE flexible custom runtime instance. This is part of the Dockerfile: FROM gcr.io/google-appengine/python RUN apt-get -y update RUN apt-get -y install…
dablak
  • 111
  • 1
1
vote
1 answer

In Jenkins pipeline, using Groovy DSL, how do I spin up a Docker image in the background?

We had a Jenkins build system, using the Groovy DSL, that worked well for us. But then we recently hired a new developer who is supposed to be very good. He decided to rewrite the way our tests work. We are now trying to make our build process…
JeffGallant
  • 113
  • 1
  • 4
1
vote
1 answer

Docker EE 2.0 - Supported OSes

I am unable to figure out what are the supported RHEL versions for Docker EE 2.0. This article (Compatibility matrix) states that RHEL versions 7.3-7.5 are supported. However the article - Docker EE end to end Install states the following: Also,…
Manglu
  • 127
  • 6
1
vote
1 answer

esrally.exceptions.SystemSetupError: ('JAVA_HOME points to JDK 8 but it should point to JDK 10.', None) when running a race on esrally

The Dockerfile of my docker 17.03.1-ce is as follows FROM ubuntu:16.04 # Specifying versions is better?? RUN apt-get update && \ apt-get install -y \ python3 \ python3-pip \ git \ …
1
vote
1 answer

netstat shows connected socket with path to it, but path doesn't exist

Im inside a docker container and ran netstat -x | grep docker which got me the: unix 3 [ ] STREAM CONNECTED 62288711 /var/run/docker.sock unix 3 [ ] STREAM CONNECTED 59416957 /var/run/docker.sock unix 3 …
InsOp
  • 113
  • 4
1
vote
1 answer

pg_dumpall hangs occassionally

I have a bash shell script that dumps all my postgres databases from docker: function dump_postgres { mkdir -p ${BACKUP_DIR}/postgres/ docker ps -a --format '{{.Names}}\t{{.Ports}}' | grep 5432/tcp | awk '{ print $1 }' | while read -r line;…
1
vote
0 answers

TCP Client-Server connection inside Docker

I have a GUI application running on my host (a CentOS 7 VM) at 127.0.0.1:3281. This connects to a server, also running locally at 127.0.0.1:1341 via a TCP channel. This works perfectly on my CentOS host. However, when I try to replicate the exact…
1 2 3
99
100