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
2
votes
1 answer

How to change the k8s internal ip addresses?

I provisioned a kubernetes cluster on my own couple of virtual machines via kubespray. The VM's network is bridged adapter and kubespray uses calico as default network-plugin. Before sometime, I've switched to another network and as a result of the…
Sara Ben Shabbat
  • 59
  • 1
  • 3
  • 7
2
votes
1 answer

SELinux with docker and traefik

I have a SELinux security problem on /run/docker.sock using traefik in docker. docker ps works correctly, it's only a problem with traefik needing to map volume /var/run/docker.sock Here is what I tried: git clone…
pdem
  • 141
  • 6
2
votes
1 answer

Do all Windows containers have the same DPAPI machine key?

Is the DPAPI machine key for all Windows machines the same for all Docker containers? At least for each base image? Is it generated magically somehow when the container is started?
D.R.
  • 145
  • 4
2
votes
0 answers

How to isolate PHP across Wordpress Installs

TL;DR: How do you isolate php-fpm for different websites running on the same web host? I'm hosting a Dockerized deployment of Wordpress and it's going well enough that I want to host a few more Wordpress installs. The problem is that I don't like…
RandomInsano
  • 451
  • 1
  • 5
  • 19
2
votes
1 answer

Azure: Docker App Error “…site did not start within expected time limit” and “Container X didn't respond to HTTP pings on port 80”

I have a Flask Python app that is run via Gunicorn from a Docker Linux container. Running the Docker container on Ubuntu works fine locally, but when the container is pushed to the Azure Container Registry and then deployed as an Azure App, it fails…
cpeisert
  • 141
  • 1
  • 1
  • 8
2
votes
3 answers

Why are GPUs accessible from docker containers running on Linux hosts, but not on Windows or MacOS hosts?

Recent versions of docker (or any version of nvidia-docker) allow direct(?) access to the host GPU from within docker containers, with full access to CUDA APIs. This is very convenient when deploying complex machine learning inference…
Will
  • 229
  • 3
  • 7
2
votes
1 answer

DLL errors Windows Server 2016 with KB4537764 and Docker 18.03

The Windows KB4537764 from 2020-02-11 on Windows Server 2016 seems to break at least Docker 18.03 so that none of the installed programs in a contain work. We have eg. svn and msbuild installed and while working perfectly after the KB is removed…
gamma
  • 148
  • 5
2
votes
0 answers

ClamAV for the host running docker containers - inotify/fanotify limits

I'm implementing anti-virus solution for Linux with ClamAV daemon running in On-Access mode, watching the created/opened files for malicious content at the host system AND in docker containers, running at the host. What limitations I've found so…
mva
  • 141
  • 4
2
votes
0 answers

haproxy & LDAP Backend with old SSL/ciphers

I try to use haproxy to proxy requests to an old LDAP server with really outdated SSL/ciphers .. but ldapsearch always returns an error: ldap_result: Can't contact LDAP server (-1) Here is my haproxy config: global log stdout format raw local0…
ds82
  • 21
  • 2
2
votes
2 answers

Recreate containers with no downtime in docker-compose

I am using docker-compose for deploying several containers on the same host. My images are built in Google Cloud Build and stored on gcr.io; I am not using docker-compose to build my images. When I run docker-compose pull followed by docker-compose…
sffc
  • 382
  • 1
  • 3
  • 11
2
votes
0 answers

Is it possible to use software RAID inside a Docker container?

Before anyone asks why you'd want to do that, I'm using molecule to test my "infrastructure as code" locally before deploying it to actual machines. Start by creating two block devices: # dd if=/dev/zero of=/tmp/test0 bs=1M count=10 # dd…
Mike Conigliaro
  • 3,195
  • 2
  • 25
  • 24
2
votes
2 answers

Docker does not start

Good morning guys, I'm a beginner with the docker so I don't know much, but I need to install it. I have a VPS hosting at GoDaddy, I installed the docker following this guide and when I try to start the docker I get the error: Job for…
1
vote
0 answers

Add primary domain to Lets Encrypt for nginx configuration

I am running an app with a dockerized nginx on an EC2 instance and configured my ssl with Let’s Encrypt. Now I would like another primary domain to that certificate but I fail in doing so. When I run sudo docker run -it --rm -v…
Micromegas
  • 231
  • 3
  • 12
1
vote
0 answers

DR for Docker persistent storage on NFS

At the moment we have a Docker Swarm setup with DTR, UCP etc using a local NFS server for DTR and persistent storage. We would like to have a DR setup at a remote data center which has high speed connectivity with primary site. We are planning to…
Debianuser
  • 421
  • 4
  • 12
  • 29
1
vote
0 answers

Axios in a Node.js container on Kubernetes is returning “ECONNREFUSED 127.0.0.1:30561”?

Full error message: connect ECONNREFUSED 127.0.0.1:30561 at TCPConnectWrap.afterConnect The axios request is running in a Node.js environment (Next.js), which is where the error occurs, strangely the axios request works perfectly fine when it is…
thatguyjono
  • 111
  • 2