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

Docker Swarm's overlay network DNS consistently resolving hostnames to an IP address one number lower than a container's actual IP

I'm having a very odd reproducible issue with Docker Swarm. I'm attempting to deploy a Dgraph server cluster via Docker Swarm across four LXD containers. For context, Dgraph Zero is the control server and each Dgraph Alpha server does the lifting…
1
vote
1 answer

docker | unknown environment `bash` | sub process /usr/bin/dpkg returned an error code(1)

My goal is to get a docker container running with nordvpn installed and connected. Get docker container going sudo docker pull ubuntu:latest sudo docker run -it ubuntu bash // now im in the docker container apt install update apt install wget wget…
ma77c
  • 115
  • 5
1
vote
1 answer

yum claims package is installed but files not there in docker

I've got some weird behaviour yum vs rpm where both claim to install, but only rpm actually creates the files while yum just claims installed. I can't tell what I'm doing wrong and why the files won't install via yum in docker. Steps: docker run…
rpwcal
  • 13
  • 4
1
vote
0 answers

ERR_SSL_PROTOCOL_ERROR nginx-proxy

I've been experimenting with Docker and nginx-proxy so I can host two web apps (gophish and unms) on the same machine using ssl. When I get things set up and I try to access the sites I get the ERR_SSL_PROTOCOL_ERROR in my browser. I look in my…
Ginkozard
  • 11
  • 2
1
vote
0 answers

Docker machine of Nginx with PHP is crushing every few requests

I have a docker with PHP and Nginx. The code deployed is not depending on external service. Every 5 minutes (50-100 requests) I get an error (see the image below) and PHP + Nginx gets restarted. 2019/12/18 08:52:19 [error] 14#14: *7 connect()…
fatNjazzy
  • 69
  • 3
  • 11
1
vote
0 answers

prevent nginx reverse proxy "ignore" crashing when upstream is not found

In our application we heavily depend on dockers, and use a modular approach to keep the complete application manageable and maintainable. Basically any call would go through an nginx serve which redirects (reverse proxy) the call to the correct…
paul23
  • 203
  • 3
  • 8
1
vote
1 answer

Gitlab not backing up to s3. Where can I find logs?

I am currently trying to migrate our old sameersbn/gitlab:12.1.6 installation to a new Gitlab instance set up with the helm chart. The easiest way seems to enable the s3 backup capability on the old installation, connect the new instance to the same…
1
vote
2 answers

Nextcloud behind Ngnix reverse proxy in a subdir url

I use a Ngnix reverse proxy to keep several docker services behind HTTPS and in the same DNS. Basically I want to access to Nextcloud with: https://server..fr/cloud/ I have access to the initialisation page but all dependencies don't load…
Opsse
  • 131
  • 1
  • 6
1
vote
4 answers

Gitlab showing 404 while running behind nginx reverse proxy, all within a docker network

As the title says, I'm trying to serve Gitlab through an nginx reverse proxy, with both programs being run in separate docker containers connected through a docker network. A picture as an example: Linux Host ____________________________ | …
Scrambo
  • 11
  • 1
  • 5
1
vote
0 answers

8.8.8.8 works in docker container, but not corporate DNS server

I am trying to get codebuild_local working on my Amazon Workspace, a remote Linux desktop. It seems that there are DNS problems when I run a docker container using the default bridge network. But they only happen with our corporate DNS server. If I…
xdhmoore
  • 111
  • 4
1
vote
1 answer

NGINX reverse proxy in front of docker containers

How do we get NGINX reverse proxy to proxy_pass into the right IP/resolve the container's hostname? I get the notion that resolver pointing to an exposed Docker-embedded DNS is ideal. Context: Debian Host (not dockerized) NGINX. Docker containers…
Malachi
  • 171
  • 1
  • 1
  • 6
1
vote
1 answer

docker-compose access ports externally

I'm sure this question has been answered before, but I cannot find a simple solution anywhere. I have multiple docker-compose projects running on a single host, with unique host port mappings. I'd like to access a Flask API from outside the server,…
port5432
  • 173
  • 2
  • 5
  • 17
1
vote
1 answer

Unexpected port 8080 on docker ps

I use docker-compose up to start a container, and then use docker ps to display its info, I see the PORTS part is as below 0.0.0.0:2280->2280/tcp, 0.0.0.0:7000->7000/tcp, 8080/tcp the 8080 is unexpected. the image-building Dockerfiles is: FROM…
lily
  • 185
  • 2
  • 7
1
vote
1 answer

Nginx reverse proxy to multiple tomcat containers

I am trying to setup Nginx reverse proxy for tomcat application docker containers. I have app1 and app2 listening on host port 8028 and 8030( inside containers bind on 8080). and Nginx and docker setup is on different servers. 192.168.1.10 => nginx…
Sunil Bhoi
  • 189
  • 1
  • 2
  • 9
1
vote
1 answer

PostgreSQL can't bind to docker ip at boot (Cannot assign requested address)

I am running PostgreSQL on the host machine. An application inside of a docker container should be able to communicate with the database. Since postgres is by default only listening for connections on localhost, I've changed the listen_addresses by…
soerface
  • 121
  • 3