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

How to investigate which docker container is causing swap to my system?

In a Debian 9 Stretch with docker 19.03.1 I'm using 6 containers and I observe swapping of 125Mo while memory usage never exceed 10% of total. ( usually around 500Mo / 16Go ). for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{…
idiocrate
  • 23
  • 5
1
vote
0 answers

Docker SQL Server remote login from IIS login failed for user sa

I have this error when I trying to connect ASP Classic web app (hosted in IIS 10) to SQL Server 2014 with username and password using a DSN configured in IIS dockerfile: Microsoft OLE DB Provider for ODBC Drivers error '80040e4d' [Microsoft][ODBC…
D. Duran
  • 11
  • 1
1
vote
0 answers

AWS Elastic Container Registry login blocked

We are trying to log in to AWS Elastic Container Registry (ECR) to pull down docker containers from our private registry. The login is failing with this error: Error response from Daemon: Get https://... EOF We believe that the AWS CLI is making a…
A X
  • 469
  • 4
  • 10
  • 31
1
vote
2 answers

Web base application-load balancer

I have two application Java base and Go base application. What is the best way to build a traffic distribution that will send 30% of request traffic to Java base application and 70% to Go base application using load balancer. This activity will be…
Lloyd
  • 11
  • 1
1
vote
0 answers

Docker overlay2 file system corruption

I have a small home server where I host a few services I like. Recently the server enters a read only state on the main LVM volume, this is the volume where Ubuntu is installed. I have very little experience investigating these types of…
LizardMaster
  • 11
  • 1
  • 3
1
vote
3 answers

Automatically init rolling update of kubernetes deployment when there is a new version of container image

I have a kubernetes deployment that looks like this: apiVersion: apps/v1 kind: Deployment metadata: name: datacollector spec: replicas: 1 selector: matchLabels: pod-type: datacollector template: metadata: labels: …
domisum
  • 111
  • 3
1
vote
0 answers

docker-compose detaches from containers after going up

I'm experiencing a very weird issue inside the terminal. I am using docker-compose to start my microservices, and when I run docker-compose up I see all the logs that containers are producing immediately. However, just after docker-compose up…
Zed
  • 111
  • 1
  • 2
1
vote
1 answer

Can multiple nginx statements be on the same line in a config file?

The Problem I'm creating a docker image which dynamically creates nginx config based on environment variables. I would like to minimise the number of environment variables required. I have a config template file that looks something like…
1
vote
3 answers

Nginx on Docker cannot access bind mount

Summary: I'm trying to set up an Nginx container as part of a Docker stack. I want to use a bind mount to make a folder on my computer available to the container as /data/www, and use that as the root folder for Nginx to serve content from. The…
Máté Safranka
  • 121
  • 2
  • 6
1
vote
1 answer

Expose Docker API over TCP on Alpine Linux using OpenRC

I have searched everywhere but just can't seem to find the answer. I need to expose the Docker API over TCP on Alpine Linux using OpenRC. I know how to do it on Ubuntu with systemd: create /etc/systemd/system/docker.service.d/startup_options.conf…
Liam Wells
  • 21
  • 4
1
vote
1 answer

How to accept connections from a Docker container to the host using iptables?

I have a Docker swarm cluster with a Prometheus container running on one node, Prometheus is configured to scrape all the Swarm nodes by their public IP addresses on port 9100 (Node exporter), all these IPs are collected dynamically. I'm also using…
Pierre
  • 61
  • 4
1
vote
3 answers

Slow DNS resolution inside docker container

I've stuck with a problem of a very slow DNS resolution inside docker container. Simple GET to a 'google.com' takes about 4s to finish while the same request on host takes 0.052 ms. Also request works perfectly if I send it to an IP address that's…
John Fekoter
  • 11
  • 1
  • 2
1
vote
1 answer

Make docker client in VM to attach to docker daemon on the host

How can I get Docker Client on a Windows Server 2019 VM to attach to the Docker Engine on the host machine that is using Linux containers in a Moby VM? My setup is like below: (A) Windows 10 (B) Docker (C) Hyper-V (D) MobyLinuxVM (E) …
orad
  • 113
  • 5
1
vote
1 answer

Ubuntu 18.04 cron job calling docker silently fails in run-parts but works in plain crontab

I have copied several cron jobs from a CentOS 7 server, where they have been running in cron.daily, to a new Ubuntu 18.04 server. The jobs call into docker containers and look like this: #!/bin/bash /usr/bin/docker exec containername…
ewramner
  • 113
  • 5
1
vote
1 answer

Docker-compose with VPN and DNS not resolving properly

I made a deal with my son where in, if he built a fully-working, 3 way traffic light in minecraft, I would host him his own minecraft server so he and his friends could play anytime. He upheld his end of the bargain, so it's my turn. In order to…