Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [containers]

The tag has no usage guidance.

0
votes
0answers
12 views

Do docker and podman iptables rules conflict?

I've installed both Docker and Podman on the same machine. Is that my first problem? Maybe. But my goal is run both and I'd like to continue anyway. My problem is this: there seems to be an iptables ...
0
votes
0answers
15 views

How do you decide the number of servers needed for an application? [duplicate]

If a Java application needs 24 GB of Heap size, will you run 6 servers with 4 GB heap each or will it be 4 servers with 6 GB each? What are the pros of running a more powerful server vs running higher ...
1
vote
5answers
145 views

Do Containers Have An OS?

I know that containers use the host's kernel and from what I understand , that's the reason we do not need an OS. My questions are (and I couldn't find any good explanation online) : 1) If that's ...
0
votes
1answer
27 views

How to get a file out of a failed build-pod from OpenShift?

I have a buildconfig on OpenShift which fails to build. The output tells me that the server.log file might contain more info. But OpenShift is deleting the build-pod immediately after the run, so I ...
0
votes
0answers
29 views

Unprivileged LXC fails to find subuid / subgid allocation

When I run lxc-usernsexec I get the error message: Failed to find subuid or subgid allocation lxc-create and lxc-start work without any problems, but I would need to run lxc-usernexec to remove a ...
1
vote
1answer
61 views

Shared folder between two docker containers

I would like to share a folder from a docker container1 to a docker container2, without any persistence. Sharing this folder with the host is not necessary. I read that there is a volume_from option ...
0
votes
1answer
98 views

Docker inside LXC starting container process caused “apply caps: operation not permitted”

I'm trying to run a Docker container inside an LXC container. However doing so causes me to get the following error: [root@DH-DockerLXC01 alex]# docker run fedora bash docker: Error response from ...
1
vote
1answer
26 views

AWS Lambda/GCP Cloud Functions for containers

I am looking for a service that is similar to AWS's Lambda or GCP's Cloud Functions but allows for the running of arbitrary containers. The use case is that at random times I need to run a Docker ...
0
votes
0answers
73 views

How to run unprivileged lxc container on Arch Linux?

I'm trying to create unprivileged container, went to Error: Failed to initialize cgroup driver / PAM unable to open pam_cgfs.so Downgraded lxc to 3.0.1 as it's suggested in doc https://wiki....
0
votes
1answer
53 views

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-...
1
vote
0answers
73 views

ssh routing between multiple linux system containers transparently

I have system where I run multiple containers. Each container is a linux system with a specific purpose and every container has a ssh server enabled. I want to make an entity that manage new ssh ...
5
votes
2answers
1k views

How to prevent docker-compose appending hashes to created container names?

I have a server with several lxc containers. In some of the containers there is a docker installed. Usually a docker compose action in these LXC containers results in container names with the format ...
0
votes
1answer
50 views

make docker container to listen requests from just another docker container

I have 3 docker containers (FrontEnd, Database, and ApachePhp) within the same Docker network. ApachePhp will be a web server (Apache + PHP) that I need to make visible only through the FrontEnd i.e. ...
1
vote
0answers
45 views

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 ...
0
votes
0answers
18 views

Windows Containers: Can Administrator user inside a container access files outside that container?

Question about Windows Containers with Docker security model. Let's suppose that we have a Host operating system, Windows Server 2016 with Containers feature enabled, which we install Docker on. Let'...
2
votes
1answer
45 views

How can I improve create/launch time of an Azure Container Instance?

I keep reading that Azure Container Instances can be "spun up in seconds". However, my tests have shown that even the simplest (smallest) containers are taking around 45 secs to launch. Is this ...
0
votes
1answer
90 views

What are the prerequisites on the host for running an NFS server in a container?

I want to run an NFS server in a privileged Docker container. A simple “modprobe nfs” on the host is not sufficient according to my tests – starting an NFS server in the container says “Not starting ...
0
votes
2answers
24 views

what is service mesh in container Load Balancing?

When i read about Load Balancers & containers.Looking for clear understanding of service mesh in Load balancer and how it is useful in containers.
0
votes
1answer
28 views

Is it pointless to scale your containers in the same physical server?

This is a question I couldn't find an answer Googling, maybe the terms I should search are different. Suppose you have a containerized app, NGINX Container, PHP Container and DB Container. You need ...
0
votes
0answers
70 views

Feasibility of containerizing NIDS components with Docker

I currently have numerous NIDS devices that consist of Snort, Bro, rolling packet capture and various log forwarders built directly onto a physical Linux OS (not virtualized at all). I feel like ...
0
votes
1answer
3k views

docker cron not working

I am trying to build a docker image which would have a cron. A cron which will delete files from particular location of docker file system. Below is my Dockerfile FROM ubuntu:latest MAINTAINER ...
0
votes
0answers
162 views

Swarm Shared Volumes in Azure with Cloudstor

I'm facing some issues with Docker Swarm volumes using Cloudstore Driver (on azure), when we try to update a docker service after the successful creation of it, the update fails with: ""Error ...
0
votes
1answer
1k views

Java Flight Recorder Docker Container

I want to profile a Java app inside a Docker container with JFR. How do I do so? The application I want to profile is not mine, so I can't alter the Dockerfile or any of the source code. Docker run ...
0
votes
1answer
116 views

dockerized jenkins failed building dockerfile work dir issue

I have a jenkins container and a pipeline which consist of building docker images. I have mounted the necessary mounts (/var/run/docker.sock, /var/run) for jenkins to use docker commands. I also bind ...
0
votes
1answer
572 views

why sendmail in container not working when running on different host machines?

I've a Docker container running on Debian (stretch). I had sendmail installed through apt-get install sendmail on the Docker container so that I can send emails from the container. Here's how my ...
0
votes
0answers
72 views

Systemctl doesn't see a service running

I’m having a strange issue with systemd and sshd. I have an OpenVZ container. When I login into it from hardware node as root, systemctl shows that sshd service is up and running, but when I ssh from ...
-1
votes
2answers
2k views

Can not find kubectl executable in PATH

Azure Kubernetes Service created and now to open Kubernetes dashboard, following the steps and getting error: az : ERROR: Can not find kubectl executable in PATH). PS C:\Program Files (x86)> az ...
0
votes
0answers
31 views

Are read-only layers of multiple containers running the same Docker images also shared in memory cache?

Read only layers for containers with same image share disk space, but what about memory cache? If memory cache is shared in the above case, then what about different images with some shared layers. ...
0
votes
1answer
18 views

Docker CPU Config

I am running 6 containers on a server with 8 CPU each, assigned using run time option —cpuset-cpu There are times when only a couple of containers have heavy processing to perform and others are ...
0
votes
1answer
147 views

Remote command execution on kubernetes container

I am having kubernetes cluster where I am trying to check disk utilisation of containers running on it. $kubectl version Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.8", ...
1
vote
0answers
606 views

Can ulimit on containers within docker daemon process be higher than the limit of the daemon process itself?

Can ulimit on containers within docker daemon process be higher than the limit of the daemon process itself? Docker documentation does not mention anything about this: From : https://docs.docker.com/...
1
vote
0answers
65 views

docker node ls is showing only master node in Azure

I have created container environment in Azure. However, while running docker node ls, it is only showing LEADER node. but not showing agent node here. Please help. Thanks
0
votes
0answers
261 views

OpenVZ venet0 network is unreachable

I'm testing out OpenVZ Virtuozzo containers for one our application deployments, but can't seem to figure out why the container can't access the network in host routed configuration. I followed the ...
0
votes
2answers
450 views

Jenkins container on Linux with powershell

I am running docker on a Debian 9 machine, and a Jenkins container in it. I installed the PowerShell plugin in Jenkins and I am trying to run a PowerShell script, but I get a message saying that it ...
0
votes
0answers
30 views

Patching a container's host/base OS without vendor support for app layer?

Scenario: Mature server application from vendor running inside a Windows container. Vendor's app is built (Dockerfile) and shipped to customer (to customer's container registry via docker push ...). ...
1
vote
0answers
129 views

HAProxy returns 503 (80 & 443 frontends + redirections managed by virtualhosts)

I've already looked for many posts, but no one solved my problem... Let me explain the context : 3 containers on a dedicated server : [10.173.223.10] haproxy [10.173.223.11] Container_A (contains ...
1
vote
0answers
75 views

Avoiding php-fpm logs being split by newline

We have a PHP server that is running in a container. The logging for PHP-FPM is done by writing to stderr and then kubernetes is forwarding those messages to the appropriate place. We have some error ...
3
votes
1answer
641 views

Docker hello-world container won't start on Windows Server 2016 on top of VMWare

I've been trying to get Docker installed and running on a Windows VM to get a better understanding of the runtime for downstream work, and I'm running into the issues starting the hello-world ...
0
votes
0answers
240 views

How to run docker Hortonworks image in CentOS 7 without issue?

I installed docker 17.12 in my centos7 , I downloaded the script start-sandbox-hdp-standalone_2-6-4.sh. I edited /etc/systemd/system/docker.service.d/docker.conf where I was putting: [Service] ...
0
votes
0answers
16 views

Docker to network VM networking

I'm experimenting with docker and I'm looking for the best way to have my container to communicate with a MYSQL DB running on a separate VM. The MYSQL DB is on the host's network. SO setup is: ...
0
votes
1answer
471 views

DCOM identity and authentication from inside a Windows Container

I’m in the process of trying to containerize a Windows DCOM application that uses RPC to connect to a particular service. Normally I would grant the DCOM application server dcom remote permissions on ...
0
votes
1answer
481 views

Move LXD container to other storage

I have an issue with my current storage.img file (btrfs). I had 2TB data inside a container and so the storage.img got 2TB large. After this I deleted everything, leaving me with 100GB of real data. ...
0
votes
1answer
625 views

How to add users to RHEL 7 Atomic Base Container Image?

How do you add users to RHEL 7 atomic for Docker? I am trying to containerize Elastic Stack on RHEL 7 atomic base image using Docker. I am able to install Elastic Search and its dependencies, but ...
0
votes
0answers
237 views

Azure MySQL database resets connection while data is being inserted

I have a containerised application which connects to a MySQL database hosted on Microsoft Azure. It's fetching data from an external source and dumping it in batches (around 10 MiB in total, let's say ...
2
votes
0answers
204 views

Connecting a local Elixir/Erlang to a running application inside a Docker container

I've got an Elixir application running inside a Docker container (in my laptop). The Elixir application was executed with the following command: iex \ --name test@1.2.3.4 \ --cookie secret \ --...
0
votes
0answers
355 views

Azure app services “Application Settings” vs “Docker Container”

I'm trying to deploy a Node.js application to a Microsoft Azure app service. The application requires node runtime 8.6 or above. There is an option called "Application settings" where you can specify ...
0
votes
4answers
67 views

which images dockerd starts automatically?

Once I have restarted the docker service on Ubuntu box with service docker restart it started some of the containers I didn't expect it to start. Why is that? Which config file/storage/whatever ...
2
votes
0answers
171 views

How can I give access to loopback devices which are created dynamically to a Docker container?

I have a small Docker container from which I can access /dev/loop0. For this I've added to docker run: --device=/dev/loop-control:/dev/loop-control \ --device=/dev/loop0:/dev/loop0 \ On this ...
0
votes
1answer
85 views

Docker how to explicitly allow any two containers to communicate, disallow by default

With the new docker custom networks, if you want to disallow inter container communication by default and explicitly define any pair of containers that can communicate, you would need to create up to ...
1
vote
1answer
2k views

Encrypted or Password Protected Docker Container

I have some Docker containers. I want to login the containers with a password. Is it possible? If it is not possible then is there way to encrypt some folders in Docker? I have tried rkt as well. I ...