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

Unable to make named virtual hosts work on windows-docker-nginx

Windows version: 10 Docker for Windows: 2.0.0.2 (30215) Nginx: latest Docker-compose.yml: version: '3.7' services: nginx: restart: always image: nginx:latest ports: - "8000:80" volumes: -…
1
vote
1 answer

Mirroring Docker Traffic to Different Port in Same Container

I am using docker containers on CentOS to simulate devices on the network and have two tools that are to run inside each of those containers to simulate communication with actual network devices. Individually, either tool works inside the docker…
1
vote
0 answers

Docker Compose WP permissions

I've a docker compose creating a WP container. The container has a more recent version of WP than the one I'm trying to import, so WP ask me to update the database and some folders. The update process fail, complaining about some permissions on…
1
vote
0 answers

How do I create a shared, but size restricted /tmp directory without using tmpfs for each docker container

I'm running about 50 mariadb docker containers on a given host. Due to the un-controllable nature of the application, we sometimes get queries that cause mariadb to write up to 10GB of data to the tmp directory (normal) or more than 10GB (not normal…
Jamie
  • 111
  • 1
1
vote
0 answers

Should I encrypt connections within my docker network to improve security?

Setup information: My current docker setup consists of the following containers: proxy and load balanceing server (HAproxy) http server (apache) multiple websocket servers (ratchet php) database server (mariadb) In my docker-compose.yml file I…
1
vote
2 answers

Docker Host with multiple VLANs

Background Information I have a server with one physical network interface that is running Docker. This interface is configured as a 802.1Q trunk. To avoid asymetric routing I configured routing tables for each subnet. Thats my interfaces…
Mark
  • 13
  • 1
  • 5
1
vote
0 answers

Nginx with SSL maintaining appends domain name before request URL

There is an Angular application in the dockerized Nginx. The Nginx configured for https mode with a trusted SSL certificate. The Nginx config looks like: worker_processes 1; error_log /var/log/nginx/error.log warn; pid …
xxxception
  • 171
  • 1
  • 5
1
vote
0 answers

How to use Cassandra with Spark in a Docker image?

(I hope this question is fit for ServerFault, if not, comment and I'll delete it) I'm trying to create a docker image where Cassandra and Spark would be installed and configured to work together. I never used Spark (and never created a Dockerfile),…
HypeWolf
  • 113
  • 5
1
vote
0 answers

Can docker check if a CIFS volume is offline?

The scenario is a machine that has some network connection issues. That means that the CIFS volume container sometimes become unavailable. If I restart it when the network is working, everything works fine again. The question is if docker provides a…
King Midas
  • 141
  • 7
1
vote
1 answer

Java application gets killed in kubernetes while the resource limits and heap size are specified

Background A spring boot Java application is deployed in a kubernetes cluster and gets killed several times per day. I'm using openjdk:8u181-jre for my Java apps. Kubernetes version: v1.11.5 Node os: CentOS 7.4 x64 JAVA_OPTS are set according to…
leoleozhu
  • 113
  • 5
1
vote
1 answer

New server to setup, docker or VM?

I'm a developer and I have some doubts about server configuration. We have a new server with a dual Xeon CPU, 128 GB RAM & 4 TB SAS SSD. We have to run some web application. Rails App ( NGINX, Puma, Postgres, Redis, ElasticSearch) - VERY HIGH…
Roberto Pezzali
  • 141
  • 1
  • 1
  • 9
1
vote
1 answer

Prevent apache rewriting URLs

I'm trying to migrate a site over to Docker. I've followed a number of guides and I'm almost there. I'm using the php:7.2.7-fpm-alpine3.7 image to separate PHP from Apache. My site is in the local folder /var/www/html/app with the Apache Docker…
1
vote
1 answer

Unable to see TensorBoard running on a virtual machine

I create a virtual machine and copy my DOCKERFILE to it. The last line of the Docker file calls a shell script that runs Tensorflow and TensorBoard, which visualises the results of TensorFlow on port 6006: tensorboard --logdir=/tmp/vae & I SSH into…
miguelmorin
  • 249
  • 1
  • 5
  • 13
1
vote
0 answers

tls 1.2 handshake timeout docker container

I'm working on a fresh ubuntu 18.04.01 in which I installed Docker version 18.09.1, build 4c52b90 by following the official install guide. I'm experiencing a weird issue regarding TLS 1.2 On the host I can curl to any URL with https without a…
1
vote
1 answer

OpenResty with Docker Compose cannot resolve own name (hostname.domainname) in Lua block

I have a docker image containing an OpenResty server. I am running it within a docker-compose file like this: version: '2.1' services: dev.example.com: # etc. If I set the resolver to use the Docker one in the OpenResty configuration, then I…
Tom Fenech
  • 190
  • 10