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

Kubernetes node breaks on restarting containerd

After upgrading to the latest docker (18.09.0) and kubernetes (1.12.2) my Kubernetes node breaks on deploying security updates that restart containerd. I have: /etc/docker/daemon.json: { "storage-driver": "overlay2", "live-restore": true } This…
vdboor
  • 3,800
  • 3
  • 31
  • 32
1
vote
2 answers

Docker service not able to start anymore because of modprobe error

I just ran in some issues with my server running docker that I cannot fix myself. Im using Docker version 18.09.0, build 4d60db4 with Ubuntu 16.04.5 LTS. During the day I noticed, that my docker applications are not available, so I checked the…
1
vote
0 answers

Mounting NFS (hosted on Ubuntu on Hyper-V) to Docker containers

We have two computers, one running Windows Server 2016 and Windows 10 Enterprise. The server hosts an NFS share (for NTFS filesystem) which was created following this tutorial. The server also has a Hyper-V VM (Ubuntu 16.04) which hosts NFS server…
1
vote
1 answer

Nginx reverse proxy makes apache2 shut down

I have an nginx server running that reverse-proxies an apache2 server. When I access pages through localhost:8001 - so directly through the apache2 server - every page loads fine. While when I load pages through nginx, I get the following…
user10030
  • 21
  • 3
1
vote
0 answers

Docker map windows directory to Jenkins container

I am running docker for windows 10 home edition, everything works fine except when I try to map a directory as volume PS C:\WINDOWS\system32> docker run -v d:/data:/data alpine ls /data here is the error i see C:\Program…
PHP Avenger
  • 259
  • 2
  • 8
1
vote
0 answers

Running 'cron -f' as an unpriviledged user in docker: /var/run/crond.pid: Permission denied

I want to create a docker container with a node application which runs on a schedule. I'm attempting to have cron running in the foreground in the container and periodically start the application. My problem is that I want to use the recommended…
1
vote
2 answers

MongoDB/ElasticSearch in Kubernetes

I am exploring the Kubernetes toolset and have now my dedicated 3 nodes cluster up and running. Next steps are migrating our company projects to the cluster. As we use MongoDB and ElasticSearch and want to host multiple projects within the cluster,…
1
vote
1 answer

How can I globally drop docker container capabalities?

I'd like to force all docker containers to drop particular capabilities. But configuring docker daemon /etc/docker/daemon.json in this way fails: { "cap_drop": ["SYS_CHROOT", "SETFCAP", "SETPCAP", "FOWNER"] } I've also tried to put there…
1
vote
1 answer

Unable to use a Nexus Docker Registry in a Docker Swarm

I am trying to set up a Nexus repository for use by a Docker Swarm. However, I am seeing some weird behaviour and I am not sure if it is something I did or if it is a bug because it appears to be present since 3.12 (that's the first version that…
Archimedes Trajano
  • 505
  • 2
  • 8
  • 20
1
vote
0 answers

Openshift: Get process namespace by process ID

Currently we have a situation where some applications running on our OpenShift cluster request very high resource load, and thus making the worker node they are running on unresponsive. However, we usually only see the process IDs when running top…
simonszu
  • 373
  • 7
  • 14
1
vote
3 answers

Running Apache not as root for HTTPS

I ma trying to make a Docker container image with an Apache server that handles TLS mutual authentication. Since this is a container Apache can be made to listen some high-numbered port instead of 443, so this should remove the need for root…
xenoid
  • 353
  • 1
  • 3
  • 10
1
vote
1 answer

Redis Sentinel not respecting announce-ip option

I am attempting to create a redis-sentinel cluster using docker-compose on my system and have it visible to the host machine (this is to try and replicate an application that is going to use redis-sentinel locally). I have created the following…
mdedetrich
  • 111
  • 1
  • 3
1
vote
2 answers

Issue with running a Forward Proxy Container and DNS Server Container on the same host

This is a home experiment with Docker, pi-hole (container) and wormhole proxy (container) running on the same host. My docker host's OS is RHEL 7.x. My original intent is to learn more about pi-hole so I hosted the service as a container on a VM…
beyonddc
  • 141
  • 2
  • 5
1
vote
0 answers

Getting SSL to work with reverse NGINX proxy in front of two Docker containers

Been struggling with this for a couple of hours. I know I'm missing something simple here because everything works on my localhost as SSL with self-produced certs + it works totally fine on localhost. The problem is - when I hit the url…
Saul Page
  • 11
  • 1
1
vote
0 answers

docker compose containers not given access to host

I have a question very similar to this one: Iptables rule-set so that a docker container can access a service on a host IP where my containers are not being allowed to access the host. The problem with the linked stackoverflow accepted answer is…