Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [docker]

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

-4
votes
1answer
21 views

Setup a Cloud Server Framework [on hold]

I have some old free server and I want to use all of their resources for virtualliztion. I need a solution or platform to be able to use the resources of multiple physical servers to create Cloud ...
0
votes
0answers
13 views

How to detect exception occured in a Pod in Kubernetes?

I have a multinode kubernetes cluster. Multiple services are deployed as Pods. They communicate over each other via rabbitmq which also exists as Pod in the Cluster. Problem Scenario: Many time ...
0
votes
0answers
7 views

docker api get seccomp profiles

I am trying to retrieve docker containers characteristics from the docker api available through the docker socket. I have read the documentation and can retrieve most of containers parameters through ...
0
votes
0answers
12 views

Managing multiple websites with Docker-compose

On SO there was a good answer https://stackoverflow.com/questions/47849096/running-multiple-websites-docker-compose, but it works only when you have structure like └───project │ docker-compose....
0
votes
0answers
4 views

Can filebeat inject metadata from a separate file?

I have a kubernetes cluster whose logs are being scraped by filebeat. Each filebeat container sees a number of logfiles of the format /var/lib/docker/containers/[CONTAINER_ID]/[CONTAINER_ID]-json.log ...
0
votes
0answers
20 views

gcsfuse affecting wordpress performance

This can be a bit vague question, but perhaps some of you have experienced the same. I am running a wordpress docker container with a database connected to an external sql instance through and SQL ...
1
vote
1answer
29 views

How can I find disk space usage?

I have a Ubuntu docker run on CentOS host in Google Cloud. The docker runs a spring-boot application used for image uploading to S3. I do not save anything on local disk. Every 2 weeks or so, I have ...
0
votes
0answers
8 views

Docker and csf when running outline server

I've installed Outline (uses Docker) on my server while I have csf firewall enabled. the problem is I don't know what incoming and outgoing ports should I add to csf whitelist.
0
votes
2answers
28 views

Mount a new volume into a docker instance

I have a web site running in a docker instance. The site has a documents folder that needs more storage. So, I created a new volume on AWS. I can see it from the host with lsblk, like so: $ sudo ...
1
vote
1answer
49 views
+50

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 ...
0
votes
2answers
26 views

Is there any way we can write in a Dockerfile the -v command used on docker cli?

Say, I have a local dir structure of /var/lib/jenkins and on the resultant container i have the same dir stucture. Now, i need that the jenkins user created through Dockerfile should be able to access ...
0
votes
0answers
45 views

Slow docker overlay network between physical sites

Running a docker swarm on the same subnet interconnected on two physical networks via a fibre link. One of them is 10Gbps, and the other 1Gbps. As so: -------------------------------- | | Site A, ...
0
votes
1answer
19 views

Is it pointless to scale your containers in the same physical server?

This is a question I couldn't find an answer Googling, maybe the terms I should search are different. Suppose you have a containerized app, NGINX Container, PHP Container and DB Container. You need ...
0
votes
0answers
14 views

Running HAProxy in front of sonarqube on localhost as docker containers (enable HTTPS)

I am trying to enable HTTPS for sonarqube using HAProxy on my local ubuntu PC. I am running both sonarqube and HAProxy as docker containers based on: https://hub.docker.com/_/haproxy/ https://hub....
0
votes
1answer
18 views

how to find out block and network used by docker container

I have confusion to understand docker container stats for NET I/O and BLOCK I/O. As per official documentation. NET I/O => The amount of data the container has sent and received over its network ...
0
votes
1answer
25 views

How to handle nginx container creating Letsencrypt keys and then use them?

I have a docker image, which creates containers for my web app. The details of the web app don't matter at all. What matters is that each time, the container can use a different address ( server1., ...
0
votes
0answers
8 views

Rancher 2.0 Node Scheduling Priority Settings

Does anyone have experience with Rancher 2.0 priority scheduling? I would like to make sure certain containers are running over others. If I add scheduler, priority and priority class name, nothing ...
0
votes
2answers
56 views

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 ...
0
votes
0answers
10 views

Cannot share /proc/<pid>/root in dockerized samba

I am using vs 2017 to do some development on docker container (hosted on docker toolbox with virtualbox driver) remotely. So I need to access certain headers, e.g. /usr/include. I can copy it but I ...
1
vote
2answers
58 views

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 ...
0
votes
1answer
29 views

Save Docker containers as single image

I don't have much experience with Docker so not sure if this is even possible, but I'm trying to export my Docker containers as a single image. I've created a web server using various images from the ...
0
votes
0answers
10 views

Getting data from crashed docker container [closed]

I am having docker container with Ubuntu installed which was running with Nvidia docker But now I connected that HDD in a different computer. Now After typing following command in newly assembled ...
-1
votes
0answers
18 views

Fail2Ban with Kubernetes? or any other alternative? [closed]

-1 down vote favorite I am looking for some tools can auto detect brute-forcing user, and block / make log file itself to notice Sysadmin. I know Fail2Ban can do this kinda job on legacy environment, ...
0
votes
0answers
11 views

Feasibility of containerizing NIDS components with Docker

I currently have numerous NIDS devices that consist of Snort, Bro, rolling packet capture and various log forwarders built directly onto a physical Linux OS (not virtualized at all). I feel like ...
0
votes
0answers
13 views

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 (...
0
votes
0answers
16 views

java.sql.SQLException: Driver:org.postgresql.Driver@******** returned null for URL:jdbc:postgresql://… --port=5432

I want to deploy a docker image with AWS. I use 2 services:RDS database(POSTGRESQL) and ECS as a container for the deployment. I can connect to the database using https://docs.aws.amazon.com/...
1
vote
1answer
20 views

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 ...
0
votes
1answer
32 views

Install Let's Encript in a custom docker container

I'm trying to get https enabled on a web server (apache) already running in a custom docker instance for a specific web app. The container seems to be running Alpine Linux. Before a few weeks ago, I ...
0
votes
1answer
46 views

docker has volume permission but docker-compose doesn't

I have installed Docker on an Amazon Linux server and given it permissions with sudo usermod -aG docker $USER. When I start my Jenkins docker containers (which have the home directories on an EBS ...
0
votes
1answer
28 views

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: ...
0
votes
1answer
15 views

How do I list Docker VIP addresses?

I can list all container IP address inside a docker overlay network using: ~# docker network inspect <network_id> I'm trying to do resolver troubleshooting in some Docker swarm stack. It seems ...
0
votes
0answers
11 views

WSL and maven wrapper?

I'm trying to run my ./mvnw from a Spring Boot project in a WSL (Ubuntu) with Windows 10 Enterprise Build 1803. But I keep getting the same error every time: : not found ./mvnw: : not found ./mvnw: ./...
0
votes
0answers
14 views

Docker and shorewall : rejected packets

I've a Debian box with shorewall configured and working. I just added a simple docker container (nginxdemos/hello) : % sudo docker ps CONTAINER ID IMAGE COMMAND ...
1
vote
1answer
23 views

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/...
0
votes
0answers
34 views

Docker don't allow to install using dpkg command

I am trying to install docker cron package in running prometheus docker container. I downloaded cron package but somehow it is not allowing me do that. I downloaded cron package using wget command. ...
0
votes
0answers
17 views

How to specify outbound IP when running Teamspeak 3 server within a Docker container?

I have a Teamspeak 3 server Docker container on my server. My server has several IPs assigned to the one interface eth0. 198.51.100.17 Main IP 198.51.100.18 Second additional IP 198.51.100.19 ...
0
votes
0answers
12 views

nginx, php7.0-fpm and laravel, not able to set it up when the url has a prefix which the server doesn't have

I am trying to set up a laravel installation in docker with php-fpm and nginx server on a separate container. The issue is the laravel is installed in a path like /home/apps/foo and the url I need is ...
0
votes
2answers
32 views

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. ...
0
votes
1answer
31 views

Executing a script in a Docker container in K8s

I am experiencing some odd behaviors when executing a script in a k8s/Argo workflow step. To start with, where I start the Metamap Tagger servers (see code snippet below), instead of waiting till ...
0
votes
1answer
10 views

How to assign URLs to docker containers

I have a couple containers running on my host (Ubuntu Server), and I can access them on my network via host:port. I'm trying to use containers to replace IIS, so I'm trying to figure out how to ...
0
votes
0answers
36 views

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-...
0
votes
1answer
44 views

docker cron not working

I am trying to build a docker image which would have a cron. A cron which will delete files from particular location of docker file system. Below is my Dockerfile FROM ubuntu:latest MAINTAINER ...
0
votes
1answer
32 views

How to automate PHP 7 installation on Ubuntu 16.04 in Docker? [duplicate]

I am trying to create a Dockerfile to install PHP 7 on Ubuntu 16.04. This is supposed to fully automate the whole installation process. However, during the installation, it prompts me to select a ...
0
votes
0answers
19 views

GCP/GCE / Docker / GitLab - gitlab_shell_ssh_port - Connection timed out

I'm following GitLab Docker images | GitLab and even though gitlab container appears to be healthy: # docker-compose ps Name Command State Ports ...
0
votes
4answers
57 views

Is it a good practice to put update/upgrade statements inside the Dockerfile?

new to Docker here and I am trying to make it right. I want to create a docker container to 'deep freeze' an application created with bash scripts and a lot of dependencies, so that I don't have to ...
0
votes
1answer
13 views

Temporarily expose docker container

Recently I have been working a lot with docker, especially docker-compose. Oftentimes I have some container running along with a database and sometimes I want to inspect the data of the database with ...
-1
votes
0answers
88 views

Mysql2::Error: Unknown MySQL server host 'expvipdb' with docker-compose

docker-compose up gave me Mysql2::Error: Unknown MySQL server host 'expvipdb' (-2) with the following docker-compose.yml file: expvip: build: . restart: always ports: - "80:80" ...
2
votes
1answer
32 views

Is it possible to change the IPv6 address of docker0 bridge?

I'm trying to set up a docker based application on a virtual server running Ubuntu. The application is supposed to work with IPv6. No problem, I got a /64 network from my server provider, it is ...
0
votes
0answers
12 views

How can I root-cause linux docker container CFS throttling?

I am running a docker container with a CFS configuration of 100000us period and quota of 450000us My understanding is that this means that for 100000us accounting periods, if the CPU consumption ...
4
votes
0answers
109 views

Docker + Ansible + google-compute-engine debian packages - a confusing story

Dear fellow Server Faulters! I have stumbled upon a problem that confuses me A LOT and you are my only help! Long story short: 1. I have a set of ansible playbooks to configure servers 2. These ...