Stack Exchange Network

Stack Exchange network consists of 175 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
3 views

Configure GitLab Docker container with Plesk and LetsEncrypt

Hi I have an issue with my GitLab setup. What I'm trying to achieve: running GitLab inside a Docker container access GitLab through a subdomain (gitlab.mydomain.com) at ports 80 and 443 for https ...
0
votes
1answer
14 views

Which tools simplify administration tasks with Docker containers?

Context: My task is to administer a virtual machine with about 5 web services for a small workgroup. I plan to run all services in Docker containers. An additional nginx Docker container should ...
0
votes
0answers
6 views

Issues when starting up Docker's service, the logs aren't clear

I was asked to setup Docker to run with "Device Mapper" (docs right here). I'm on a CentOS 7.4, and Docker is installed via an Ansible script. I admit I don't know everything this script does, but at ...
0
votes
0answers
16 views

TCP connections between docker containers timeout after ~10000 connections

I have 2 containers defined in a docker-compose.yml file, and am using them to run some rspec tests in a CI pipeline - the first container executes the tests, the second is an nginx container that is ...
2
votes
0answers
29 views

WEBRTC MCU/SFU inside kubernetes - Port Ranges?

I am using janus-gateway as a webrtc media server for group videocalling. Previously I had deployed it in a single node using docker-compose but now I want to be able to scale it horizontally. For ...
0
votes
0answers
6 views

Allowing outgoing connections from Docker Swarm Mode containers with iptables

I'm running a little one-node swarm and I'm trying to secure my containers with iptables. The main reason being that it is very convenient to have some applications/ports that can only be reached by ...
0
votes
0answers
10 views

Not able to reach container running in a localhost docker swarm cluster

If that's interesting: OS: WIN10, code written in Java. I am using hyperv VMs as stated in this guide: this I got a running docker swarm cluster consisting of 2 nodes. I am able to ping both of the ...
0
votes
0answers
10 views

Docker containers can't communicate with internet nor other containers [on hold]

This docker-compose.yml doesn't start on my laptop on Arch linux, but it works on all other machines: version: '3.5' services: django: image: betagouv/mrs:master depends_on: - postgres ...
0
votes
0answers
22 views

How to make custom docker image for Gitlab CI

I have CI on Gitlab for creating of my android application. This is example of my .gitlab-ci.yml: image: openjdk:8-jdk variables: ANDROID_COMPILE_SDK: "28" ANDROID_BUILD_TOOLS: "28.0.2" ...
0
votes
0answers
26 views

iptables traversal when connecting to docker client

How can the docker-host reach an exported port without hitting the iptables DNAT-rule? Bonus: Why are the iptables log messages only shown with curl 127.0.0.1:8082 but not with curl localhost:8082? ...
1
vote
0answers
17 views

Bind mount ZFS backed host directory in Docker container

I have Docker 18.06.1-ce running on Ubuntu 18.04. Docker is running on a ext4 file system. I have a raid array for big storage running ZFS. I would like to mount a directory from the ZFS array into a ...
0
votes
0answers
16 views

How to configure a node.js server inside a docker container as a systemd service?

I have a node.js server running inside a docker container. I need to configure this container as a systemd service on a CentOS 7 machine so it can be launched during boot. I have a script that ...
1
vote
0answers
34 views

Expose each docker instans with it's own ip-number

I have a server on my network and I would like to use that one to pretend to be many different servers. The physical pc is running a Ubuntu server and when connected to the network the dhcp server ...
0
votes
0answers
22 views

Routing all traffic from a docker bridge network to host's VPN

I'm using docker on ubuntu 18, i have an openconnect(cisco) VPN on my machine(docker host) to access some APIs. VPN works well on the host machine. but containers those are connected to a user-created ...
0
votes
0answers
19 views

Do docker and podman iptables rules conflict?

I've installed both Docker and Podman on the same machine. Is that my first problem? Maybe. But my goal is run both and I'd like to continue anyway. My problem is this: there seems to be an iptables ...
1
vote
1answer
21 views

Issue insulating docker containers

I have a question, I have the following iptables config: [root@nd01 ~]# iptables -L INPUT --line-numbers -n Chain INPUT (policy DROP) num target prot opt source destination ...
0
votes
1answer
27 views

Reverse NGINX proxy in front of two Docker containers is not working

I have this configuration: upstream frontend_upstream { # FrontEnd part based on `frontend` container with React app. server frontend:3000; } server { ... listen 80; server_name ...
0
votes
0answers
7 views

Docker Network: Public IP for Swarm Scope

My goal is to serve different docker services using different IPs of my host: 10.10.10.40:8888 -> DockerSwarmService1 10.10.10.41:8888 -> DockerSwarmService2 Using normal bridge networks, that is ...
0
votes
0answers
12 views

Automatically change docker networks addresses

Recently I run into a problem with Docker and networking. I needed to change the default address pool for Docker networks to be able to allocate more networks than the default. I did this adding "...
0
votes
0answers
20 views

Run Kubernetes behind OpenVPN and allow internal traffic on NGINX Ingress

My current setup is running multiple services on a single node Kubernetes cluster within a domain *.foo.com inside my internal network. Each service corresponds to its respective subdomain (Say I have ...
0
votes
1answer
46 views

How to restrict external access to ports exposed by Docker containers, while still allowing links to work?

I have a couple services running on a machine in docker containers that need to be available to a specific IP address, and need to be available to containers with links (as defined in a docker-compose ...
1
vote
1answer
64 views

how to access external mysql from docker

I have an springboot java app inside docker that needs to access an external mysql. How can I configure this? Is it possible to define it inside Dockerfile? I am now to docker so I assume this ...
0
votes
1answer
36 views

Docker push to Azure container registry fails because authentication expires before it finishes - workaround?

Using the Azure CLI on Windows Server 2016 against an Azure container registry (az login and az acr login) I'm pushing a large Windows container docker image (>10GB) with docker push. It seems the ...
0
votes
0answers
20 views

Why Docker healthcheck in inspect and ps different?

I set up the simplest healthcheck in docker containers: HEALTHCHECK CMD curl -s http://localhost:6000 Containers have identical web services. When I run docker ps, the status of all containers is ...
0
votes
1answer
10 views

redis-sentinel Docker container can't resolve master instance hostname

I'm trying to set up redis-sentinel from bitnami and I'm getting the following error: redis-sentinel_1 | nami ERROR Unable to start com.bitnami.redis-sentinel: redis-sentinel_1 | *** FATAL ...
-1
votes
0answers
21 views

How to free buffer and cache memory

One of my container was consuming a lot of memory and therefore I stopped it. But the buffer memory is still not made available. # free -m total used free shared ...
1
vote
1answer
29 views

Docker container: kill command not found

Noob question here: I'm using a docker image based on docker-slim, which doesn't seem to have the kill command by default. I tried using apt-get install kill, but apt can't find the package. What ...
0
votes
0answers
22 views

How to delete a docker network that does not exist?

I have a docker swarm configuration with 3 nodes. There is a network that sits on only one of the nodes. On that particular node, docker network ls shows the network, docker network rm [network-id] ...
0
votes
0answers
25 views

Nginx reverse proxy in subdirectory to docker image

I am trying to spin up a docker instance of WordPress behind an Nginx reverse proxy that redirects a subdirectory of /blog to the docker instance. I’m having issues when trying to set options in the ...
0
votes
0answers
36 views

Setting up a Laravel project on AWS Fargate

I am trying to run a Laravel Docker Project on AWS Fargate. The project builds and runs successfully on local machine. I am able to browse to http://localhost:8000 and it works just fine. However, ...
0
votes
0answers
32 views

Packer Works Locallly but fails in Gitlab CI/CD w/ executable file not found in $PATH

Here is a snippet of my JSON file for packer. Pretty much running packer build example.json via adhoc - it works smoothly and builds the AMI out in AWS. When i execute this in my GitLabCI Pipeline, it ...
0
votes
1answer
49 views

Is it possible to get the cgroup path for a Docker container managed by Kubernetes?

When we use kubectl describe pods <pod_name>, a great deal of information is output, including the node that the server is running on, and miscellaneous information about the pod, including the ...
0
votes
0answers
17 views

Dump process memory to file, stop, then initialize from file into the same state? [duplicate]

Does Linux have some mechanisms for creating a "memory image" of a process that can be used to initialize a new process from that exact state? Assume there is a process that takes a lot of time to ...
0
votes
0answers
31 views

docker container for opensupports

Can anyone recommend a docker image for deploying opensupports? According to their readme you need PHP 5.6+ MySQL 4.1+ PDO Extension Apache 2.4+ A prebuilt image would of course be even better but I ...
0
votes
1answer
10 views

passing labels parameter to daemon.json in Docker

I am trying to setup docker daemon on Centos 7. The goal is to pass parameters to the overriding script in systemd and keep everything in daemon.json that is much more readable and cleaner Default ...
0
votes
0answers
28 views

Embedded DNS stops working after installing and starting firewalld on CentOS 7 container

I have two dockers that run from docker compose: version: "3" services: sqa: image: sqa ports: - "80:80" hostname: sqa networks: - robottest_net tty: true slave: ...
1
vote
1answer
68 views

Unable to ssh into running dropbear sshd. “Bad password attempt” …But password is correct

For some reason, a running dropbear sshd i've got going in a Docker container is telling me Bad password attempt , even though i've doublechecked multiple times that both username and password is 100% ...
1
vote
0answers
29 views

SSHd logs in Docker container not shown by `docker logs`

When using CMD ["/usr/sbin/sshd", "-D"] in a Dockerfile, docker logs does not show the logging: cat > Dockerfile.stdout <<EOF FROM alpine:latest RUN apk add --no-cache openssh-server \ ...
1
vote
0answers
14 views

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

SQL Server Linux Docker network issue

Here is my environment Linux Debian 9 Kernel 4.9.0-8-amd64 8vCPU - 32GB Docker Swarm 18.09.1 (3 managers) I am running SQL Server in a docker container (Swarm service) and I encounter random ...
0
votes
0answers
33 views

How to access database on Docker swarm without exposing ports to internet?

I had a really hard time coming up with a short and descriptive title for this... Let me explain: In classic Docker (no swarm mode) I had my system set up in a way that my PostgreSQL database would ...
1
vote
1answer
20 views

AWX docker-compose stop not working

I'm pretty new to docker-compose and I can't seem to make this work. I have been following this guide for installing AWX and has been successful so far. But when trying to stop everything using ...
1
vote
5answers
148 views

Do Containers Have An OS?

I know that containers use the host's kernel and from what I understand , that's the reason we do not need an OS. My questions are (and I couldn't find any good explanation online) : 1) If that's ...
0
votes
2answers
30 views

Ping between dockers by hostname

I want to know how to ping between dockers containers by hostname. I create a network with network create command. I'm running bot containers with these commands: docker run --hostname=app --net=...
0
votes
0answers
16 views

Trying to set up SSL on Apache with minimal web experience

I have pretty much 0 experience with web development but I'm trying to get apache set up with SSL on Docker. The first thing I did was confirm that my apache set up worked properly from the get-go ...
0
votes
1answer
18 views

RUN yum in Docker file not working, but yum it's working inside the container

I'm trying to build a container from amazonlinux (fedora based). If I build the image and I enter into the container the yum command works normally. However if I put the yum command inside the ...
1
vote
1answer
47 views

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

How to view memory usage of containers after reboot?

I have Docker containers running on my Ubuntu machine. Every so often (couple weeks) it becomes completely unresponsive. I suspect it's a memory leak issue with one of the containers. How can I view ...
0
votes
1answer
39 views

Trying to redirect a docker container to another through nginx

As the title say trying to reverse proxy. Using an app with port 500 inside container with port exposed for 5000. The nginx is on another container with port 80 exposed and publish to 8080. Both ...
0
votes
1answer
27 views

Why does nextcloud in a docker container not see my none docker mariadb

I have searched for this question on the internet, but found only topics the other way around. (connecting to a mariadb in a docker container). I'm in the process of installing nextcloud in ...