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

trying get a working version of ELK (elastic search + kabana) with docker-compose

So I've spent the last 6 hrs doing this and successfully got it to work with 2 separate docker containers (I just do a docker pull kibana:7.3.2 and docker pull elasticsearch:7.3.2). The tag seems to be important for some reason as latest gives me an…
MrL
  • 111
  • 2
1
vote
1 answer

Wordpress in kubernetes not applying WORDPRESS_CONFIG_EXTRA to wp-config.php

I'm trying to run a wordpress site on kubernetes, but as it is behind the nginx ingress, it needs the line $_SERVER['HTTPS']='on'; in wp-config.php, as seen in here. When not setting any env variables the docker image uses the wp-config.php provided…
Setti7
  • 13
  • 4
1
vote
1 answer

IPTables block internal traffic but allow all outgoing traffic

I'm trying to do the following: Block all internal traffic Allow access to ports 81, 82 only if IP is X.X.X.X Allow all traffic out including port 22 I think I got it working BUT now I can't telnet to port 22 as it's being blocked: -P INPUT…
1
vote
1 answer

Not logic in docker filter

I have a named container that may or may not be up and if it is up I want to be able to kill all the containers but that one by name. Basically what I want is: docker kill $(docker ps -aq --filter="name!=") sadly the internal docker…
Itay Weiss
  • 133
  • 5
1
vote
0 answers

Docker Compose access specific internet domains/ports without "--net=host"

By default, none of my docker-compose containers have access to the internet. We can expose ports to the host, but not from the internet. Any solutions on the web point me towards using network: host or --net=host, but this would almost totally miss…
fameman
  • 111
  • 2
1
vote
1 answer

Route traffic from one docker container through a VPN (provided by a second container)

I need to understand how to make two docker containers work with a scenario like this: There is a branch office with a router and a client. The network is 192.168.190.0/24 and the addresses are 1 and 57. There is somewhere else a VM facing on the…
1
vote
1 answer

Rename "docker" privileged user group

Docker allows running with sudo privileges by adding a user to the docker group. I want to rename docker to docker-users. So I created the /etc/docker/daemon.json file with permissions 640: { "group": "docker-users" } Then restarted docker:…
lonix
  • 896
  • 10
  • 23
1
vote
2 answers

Mounting an Azure file share using Cloudstor on a local Docker container

I'm developing a docker image that requires access to shared data in a Azure file share. I want to test this locally before deploying to Azure and I'm not using swarms. I'm using the Azure CloudStor Docker plugin I've successfully installed the…
Geordie
  • 125
  • 1
  • 5
1
vote
1 answer

Tomcat 8 HTTP header parsing error

I have been deploying tomcat 8.5.45 on a Centos 7 docker container. I deployed and after setting the logs to Fine I found an Error parsing HTTP header error every time I use: http://localhost:8080 I have the feeling this error is related to my…
Jose Cabrera Zuniga
  • 179
  • 1
  • 3
  • 11
1
vote
1 answer

Does docker network somehow block access to its host from certain IPs?

My company has a CentOS 7 server with some running docker containers. Normally I can connect to it from my personal computer . But sometimes after I run a docker-compose up command on the server, I cannot connect to it anymore (I try to ping /…
Hien Le
  • 113
  • 4
1
vote
2 answers

How do I add SSL to my Nginx and Docker build?

I'm trying to configure SSL on my server, but I've been getting a file not found error. Is there something I'm missing? Here's my Dockerfile: # build environment FROM node:9.6.1 as builder RUN mkdir /usr/src/app WORKDIR /usr/src/app ENV PATH…
mfisher91
  • 111
  • 4
1
vote
1 answer

Nginx IP transparency reverse proxying but upstreams need to be able to initiate connections to Internet

I have a docker swarm consisting of an Nginx service that serves as a reverse proxy for a couple of other upstream services, web and mail. Both web and mail service need to connect to an external service via HTTPS in order to perform authentication.…
n.abing
  • 111
  • 4
1
vote
1 answer

GLPI + Docker : Unable to bind to server: Can't contact LDAP server

I'm trying to migrate our GLPI on Docker. version: "3" services: glpi1-front: restart: unless-stopped image: glpi1_front build: ./glpi1_front volumes: -…
JeanneD4RK
  • 177
  • 1
  • 10
1
vote
1 answer

K8S Azure Storage Account file share mount issue with ingress?

have a Kubernetes cluster setup in Azure with AKS and I am running a simple apache deployment, for the purpose of this post httpd:2.4. For assets storage I have a File Share mounted from an Azure Storage Account, this all seems to work but when…
Liam Martens
  • 141
  • 5
1
vote
0 answers

Docker based Elastic Beanstalk timeout error connecting to RDS

Hope everyone is doing amazingly great just like me until last day. Case Story: 1 I have a laravel(php) based admin panel. 2 I ran and tested it locally by connecting it to a mysql database. 3 I created a docker file and test all things on dockers…