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

how to isolate kubernetes namespaces but allow access from outside

I have a Kubernetes cluster setup using kubeadm I'm trying to define a network policy which restricts access from outside the namespace but doesn't block access from outside (external IP) to elaborate I want the pods to be accessible from other pods…
moses
  • 83
  • 1
  • 12
1
vote
1 answer

Latest docker image does not point to really latest image version from private local registry

I've created private local Docker registry using manual https://hackernoon.com/create-a-private-local-docker-registry-5c79ce912620 and pushed two versions of custom image to it. Then I deleted cached images and tried to pull image from local…
1
vote
1 answer

Generate LetsEncrypt Certs to NFS share

Im trying to generate a letsencrypt wildcard cert to use on various websites (one FQDN, multiple subdomains). The plan is to save those certs on a NFS share I have to easily access them on various webservers. But when I mount my NFS share to…
cclloyd
  • 593
  • 2
  • 14
  • 29
1
vote
1 answer

Obsocuring data by mounting a bind mount or non-empty volume in Docker

What means please that sentence: If you mount a bind mount or non-empty volume into a directory in the container in which some files or directories exist, these files or directories are obscured by the mount, just as if you saved files into …
Webwoman
  • 135
  • 1
  • 8
1
vote
1 answer

Is my docker node application using all available CPUs?

I've got a node app built using a standard node-alpine docker image deployed to Azure App Service. The App Service Plan is set to use 2-core VMs (instance type S2). A single node process will only use a single core at a time. Is Azure scaling the…
jiggy
  • 123
  • 4
1
vote
0 answers

why selinux is denying file access(ls /usr/bin) to container_file_t type inside my container

I have one RHEL7.4 node, that when enforing selinux, it will fail my container, I checked and found it is denying reading in the container internal directories: # docker run -it 172.16.1.120:5000/fluentd:0.14 ls /usr/bin ls: cannot open directory…
Michael.Sun
  • 111
  • 4
1
vote
1 answer

Modify running GAE flex node app

We wanted to make a quick change to a running GAE application to enable logging of queries to trace a bug. SSH'ing into a running instance it can be hard to find where the app code is stored due to the use of docker. While these instructions allow…
ChrisJ
  • 295
  • 1
  • 10
1
vote
0 answers

Docker: nginx as proxy returns a 502 Bad Gateway

First I'd like to say I am totally new on Docker and server management. What I try to build is a docker based stack including WordPress, MariaDB and nGinx images. The nGinx is going to be used as a reverse proxy, and this is the reason I am…
KodeFor.Me
  • 209
  • 3
  • 5
  • 14
1
vote
4 answers

Do not show all docker containers to a particular user

I want to use one server to host multiple docker-containers. I want to give another user a possibility to manage new docker-containers, but I do not want to give him access to all other containers, which I started, since they may contain sensitive…
noisy
  • 91
  • 6
1
vote
1 answer

Is it safe to modify data in a docker local volume from host path?

I know that in Docker when using the "local" driver a persistent volume is stored in /var/lib/docker/volume//_data. To modify data inside the volume must I mount it in a docker container or can I safely add/modify the content of the…
cannatag
  • 111
  • 5
1
vote
0 answers

Why same request has different response times?

I have an API (built with nodejs) and deployed on a kubernetes cluster using a docker image. For default route I simply return a Hello World QA! message. I am testing response times of this GET request and I see that once in a while, randomly, one…
user22817
  • 215
  • 4
  • 11
1
vote
1 answer

Allowing docker containers to communicate with internet using a container as a gateway

Below is my configuration of my docker containers network nw1: This is a private network containers in this network cannot access the internet (ping google.com doesn't work) bridge:This is not a private network and is the default network of a…
1
vote
0 answers

How do I input passwords for mysql config editor inside of a dockerfile

Is there a way to create a docker image that needs to use the mysql_config_editor set command with a password without putting the password in the dockerfile and without manually inputting it later in the actual container?
Uberhumus
  • 213
  • 1
  • 11
1
vote
1 answer

Deploying a php/laravel app with nginx in Docker swarm yields blank page and no errors

I have a Laravel application which I plan to deploy on a Docker Swarm. The problem is that no matter what I do I get a blank page when calling localhost/index.php. I'm using 2 separate services for: Laravel App (php-fpm) Nginx Some notes which…
2hamed
  • 479
  • 1
  • 5
  • 23
1
vote
2 answers

How can I find disk space usage?

I have a Ubuntu docker run on CentOS host in Google Cloud. The docker runs a spring-boot application used for image uploading to S3. I do not save anything on local disk. Every 2 weeks or so, I have disk space issue (no space left on device). I run…