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

Questions tagged [docker]

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

0
votes
0answers
14 views

how to install packages on Docker Toolbox [on hold]

I have Windows 10 regular edition, so cannot do Docker for Windows. I am stuck using Docker Toolbox for now. Without installing from source, how can I install packages into this cygwin environment? ...
0
votes
1answer
18 views

how to have finer control about which ports docker opens in iptables?

I am using UFW for setting my firewall rules. But docker keeps overridding them in iptables openning all ports that have been mapped from the containers to the host. I want to have access only to ...
1
vote
2answers
22 views

Should I be running docker bridge0 on the same subnet as my docker host?

I have decided to run some docker containers on my home net using a custom (user-defined) bridge interface. I gave the bridge a static IP on the same network as my docker host. The docker host's eth0 ...
-2
votes
0answers
28 views

Pulling images from /var/lib/docker?

Is there a way to save/restore Docker images from a hard drive? (e.g. /var/lib/docker ?) Background : booting via rescue wasn't an option, and the OS is no longer bootable (I understand I can run ...
-1
votes
0answers
12 views

How do route through datapower, using datapower 7.7.1.3 docker image

I would like to route all data through a datapower docker image. HOWEVER I failed to see the steps how to do it in datapower itself. +-------+ +-----+ +-----+ | A | ...
0
votes
0answers
19 views

Mounting named volumes between containers

I'm new to docker, and having difficulty with docker volumes. I have two containers, call them A and B. A has a filesystem with config files which B needs to read. In my Dockerfile for A, I have "...
0
votes
0answers
26 views

How to setup Gitlab-omnibus with nginx and https?

I would like to understand, where I made a mistake in this config - gitlab in docker-compose with https and own nginx. first, i create self-singned certs. second, docker-compose.yml nginx: ...
12
votes
1answer
559 views

FreeBSD Jails or Docker instances

What are the main differences between jails on FreeBSD and Docker on Linux? Is one considerably more secure or more performant than the other? Jails are way older than Docker instances so the code ...
3
votes
0answers
56 views

worker_connections are not enough - Nginx, docker

In my production server we have several upstreams which are docker containers running behind a reverse proxy with nginx. One of this containers is a mqtt broker (mosquitto) that we use to connect ...
0
votes
0answers
34 views

Origin IP lost when traffic comes from GRE tunnel and goes to docker container

I was having problems with DDoS attacks and had to purchase a DDoS Protection service. The service was installed by the provider, and the filtered traffic comes from a GRE tunnel. Everything is ...
0
votes
0answers
19 views

Squid docker container configuration and swap

I'm currently running 4 squid container on my VPS. The server is a 1 vCore cpu with only 512 mb ram. I don't need a high percentage of hit rate, i don't need cache at all in fact. Starting from the ...
0
votes
0answers
16 views

CIFS chown Permission denied on Docker / Kubernetes

I'm trying to set up Paperless(tried with Plex as well) on my Kubernetes cluster. My media is on an Windows share mounted with CIFS on my nodes //data.domain.net/media /mnt/media cifs credentials=/...
0
votes
0answers
7 views

private docker registry tls authentication with AWS ACM

I have a private docker registry, which uses the domain.crt and domain.key for tls authentication, but few days before keys expired. Now i want to us AWS ACM certificate for the TLS. Problem is that ...
0
votes
0answers
17 views

Using a FUSE-mounted directory as a docker volume

I have a mount (/mnt/xyz) which is mounted with FUSE, and I want to use it as a docker volume docker run image -v /mnt/xyz/container-dir:/container-dir But I get the error docker: Error response ...
-1
votes
1answer
18 views

Accessing Docker containers by their domain name

hey guys I have a docker container A with a domain name attached to it on a host B with a domain name attached to it as well.....how can I access the said container A via A's domain name rather than ...
0
votes
0answers
32 views

php-fpm and nginx in single cause php-fpm crash

I want to run services written in php in cluster. So I'm using docker. Here is the stack: php 7.2 php-fpm docker nginx rabbitmq/redis/db/etc In local edvelopment, there is no problem to share ...
-1
votes
0answers
14 views

docker with vncserver that consumes less than 10mo of ram

i search solution for create docker with desktop access but which consumes very little ram (10mo max) to access a desktop in docker the only solution I found is to use vnc, bur for create docker with ...
0
votes
0answers
7 views

Monitoring of a nvidia DGX Cluster with a slurm queue

We currently have a dgx-1 (https://www.nvidia.com/en-us/data-center/dgx-1/) running ubuntu with a gateway server(ubuntu) that schedules jobs via slurm (https://slurm.schedmd.com) to the dgx. We are ...
0
votes
1answer
20 views

how can I assign a static ip to docker, and use it with docker-compose

I installed docker in a machine running Windows Server 2012, its ip is 192.168.0.70 mask 255.255.255.0, there is no DHCP in the subnet 192.168.0.x; I set bridge connection, but the dhcp present gives ...
0
votes
0answers
19 views

How do I access docker container from external network using domain name

I have the following docker-composer.yml apache: domainname: dev hostname: server image: arm32v7/httpd:2.4 depends_on: - php - mysql networks: frontend: ...
0
votes
0answers
9 views

Docker duplicates logs from a container both to logstash and syslog

I have a docker daemon with default log driver set to syslog and a dozen containers with --log-driver gelf --log-opt gelf-address=udp://192.168.x.x:12201 where 192.168.x.x:12201 is logstash. Logs ...
0
votes
1answer
17 views

Access to the Docker containers

For example I have Host Machine HM (Mac OS). Inside HM I have installed Virtual Box that contains one virtual machine (boot2docker) VM1 (192.168.99.1 at my host interface). Inside VM1 I have docker's ...
0
votes
0answers
28 views

Nginx Redirect Loop in a Letsencrypt Docker with Multiple Sites

I am getting a "too many redirect error" when I try to go to my own websites. Those websites are hosted on my server with Nginx inside a Letsencrypt Docker(Docker Hub: https://hub.docker.com/r/...
0
votes
0answers
64 views

fail2ban with docker(host mode networking) is making iptables entry but not stopping connections

Environment: Fail2Ban version - 0.9.6 OS - Debian 9. The issue: Fail2ban is putting entries in iptables as expected for the jail defined in jail.local as: [xyz_failure] enabled=true filter=...
0
votes
0answers
26 views

Missing access token when using github oauth with Grafana

I am attempting to use github oauth with Grafana. The error in the grafana logs is msg=login.OAuthLogin(NewTransportWithCode) logger=context userId=0 orgId=0 uname= error="oauth2: server response ...
0
votes
1answer
11 views

Postfix not starting in gitlab docker container

I am trying to get postfix running on the gitlab/gitlab-ce:9.3.6-ce.0 docker container and it doesn't seem to work startup I get the following error: postfix start postfix/postfix-script: starting ...
0
votes
1answer
24 views

Share node_modules binary between containers in docker-compose

I would like to run a binary npm file in a container which was installed by another container. I understand that it is possible using a shared volume. I have the following configuration: docker-...
0
votes
1answer
84 views

Ping public ipv6 dns from docker container

The docker container is running on a VPS (ubuntu 18.10). What I am able to do: ping -6 2001:4860:4860::8888 from host machine ping -6 <docker container ipv6 address from host machine ping -6 &...
0
votes
0answers
36 views

HAProxy as Docker container not routing as a reverse proxy

This HAProxy configuration should serve: the Google main web page when asking http://localhost:9000/google/ the Wikipedia main web page when asking for anything else hitting http://localhost:9000 I ...
0
votes
1answer
25 views

Active internet connections returned by netstat -an is blank inside docker container

I am new to the concept of dockers and containers. So sorry if I frame the question in a wrong way. The issue is - An aws EC2 instance which is running docker is failing load balancer health checks. ...
0
votes
1answer
11 views

A different version is showing in different command in a Debian container

I am running a docker Debian 9.6 container. But when I run "uname" it is showing Ubuntu. But, "cat /etc/debian_version" is showing Debian version 9.6. root@a2bb8bf8e79c:/# uname -a Linux ...
0
votes
0answers
23 views

how to do storage networking in kubernetes?

assuming that i have a working kubernetes cluster installed if i create a pod with a persistent volume claim requesting 1GB of storage and i bind it to a local directory or nfs server will kubernetes ...
0
votes
1answer
36 views

Postgres crash loop caused by a tuple concurrently updated error

Sometimes when starting Postgres POD in OpenShift following error code is being shown pg_ctl: another server might be running; trying to start server anyway waiting for server to start....LOG: ...
0
votes
0answers
22 views

Docker : Route trafic from openvpn server to openvpn client

Networking is still black magic for me and i'm trying to route the traffic from my openvpn server in docket to my openvpn client also in docker. I'm trying to achieve this : My computer --> VPN --> ...
0
votes
2answers
29 views

global http proxy for a container

In my docker container there are some applications that make http(s) requests. How can I configure the container so that all these requests go through an external http proxy? Docker docs suggest ...
0
votes
2answers
65 views

ubuntu 18.04 docker swarm ipv6

Unfortunately I am not able to dump configs in here so I will attempt to describe. I have a docker compose file, when I do a docker up on it things work fine. However, when I start it with docker ...
0
votes
0answers
27 views

Mongo Docker Corrupted

So long story short: I have a Mongo database that was running in Docker.app (Mac GUI) with Kitematic.app and stupidly ran an update without a backup (I know!), and then Docker wouldn't launch due to ...
0
votes
0answers
12 views

Interface with docker engine for windows using http

I am trying to write a script that manipulates docker engine, On linux the curl command work fine curl --unix-socket /var/run/docker.sock http:/v1.24/containers/json but On windows I can't figure ...
0
votes
1answer
22 views

Gitlab CI won't serve Angular app to staging environment

I am trying to set up a pipeline that does the following: Commit new Angular code Build live review app for testing Manual push to production I have been able to successfully build the app within the ...
0
votes
0answers
11 views

How to have a teamcity agent to run a windows environment

I am running a teamcity instance in a docker container on linux. I also have an agent running with the same conditions. Now I have a VCS repo that actually has windows .cmd batch files to build and ...
1
vote
1answer
32 views

What is the advantage of having a dedicate docker container for mounting volume?

docker run has a flag --volumes-from which allows you to mount a volume from another container. I see that people create a dedicate container just for the sake of providing a volume for another ...
0
votes
0answers
16 views

Kafka java.io.IOException on startup

We are having issues where kafka is almost unusable for the first 10-15 minutes after startup. After 10-15 minutes, everything seems ok and services can connect and reasd/write from queues as normal. ...
0
votes
0answers
36 views

Reverse proxy shaarli in a subfolder with nginx

I have a docker-compose with many services I was able to reverse proxy behind an nginx instance, located in a linuxserver/letsencrypt docker container. I added a shaarli container to the list, and ...
2
votes
0answers
18 views

Run initdb with user having write rights, but not owner of pgdata directory

I'm running initdb in docker image (official Postgres image) in Openshift environment, with sets the strict security policy, that user that will run the container will have random UID, but GID will be ...
0
votes
1answer
45 views

Issues with Wordpress container configured for external database host

I am trying to run the Wordpress container, configured to use an external MySQL database server like so: docker run --name wordpress1 -p 801:80 -e WORDPRESS_DB_HOST=MYDBSERVERIPADDRESS:3306 -e ...
-2
votes
0answers
9 views

cURL error 7 (Connection refused) from inside a container [duplicate]

I have a site built with Lando, which is built on Docker. From outside of my site's container I can cURL my site: curl http://bar.lndo.site:8000 # returns the markup of the site's homepage If I try ...
0
votes
0answers
24 views

How to connect to mysql on host from docker?

I have mysql on my localhost and I am able to log in with root: [root@pocnnr1n1 etc]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB ...
1
vote
0answers
35 views

Q: Unable to create 'live' snapshot of running KVM using virsh

I was kindly directed to here, Serverfault from Stackoverflow to pose my question. I'm running the following command on a RHEL7 hypervisor to create a live backup (disc image) of a running kvm, ...
0
votes
0answers
40 views

How to perform an handle a Java heap dump on an OpenShift container pod

We have a problem in our production environment. A SpringBoot Java application is running inside an OpenShift container/pod. The Java process is running out of memory and exiting out with a code 137....
1
vote
1answer
39 views

How to determine the cause of stuck `D` status processes?

I have several processes stuck on uninterruptible sleep statuses, all seemingly stemming from auplink /var/lib/docker/aufs/mnt. It's something docker related and it's waiting on an I/O that will never ...