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.

1
vote
1answer
17 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
51 views

How to configure wireguard wg0 interface in lxc container with systemd?

I have installed wireguard.ko on the host OS and wireguard tools on guest container. I want to configure container's wg0 interface without adding eth0 into container (as in this article). I'm ...
0
votes
0answers
13 views

Reverse Containerization - One kernel on multiple barebones

I have been experimenting with containers, and they are great for our small apps which were previously running on VMs. I am hoping to gain efficiency similarly for a much larger, proprietary ...
0
votes
0answers
22 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
34 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
71 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 ...
0
votes
0answers
23 views

Does bind-mounting /home in containers impose security issues?

I have some containers (systemd-nspawn) on a server. For our internal users, having their /home mounted in the containers is convenient. I wonder, however, whether this can reduce security. E.g. if an ...
3
votes
2answers
754 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
0answers
27 views

Change default location for unprivileged lxc containers

A similar question has already been asked here and here, however, it relates to privileged containers as far as I understand. By default unprivileged lxc containers and their config files are stored ...
0
votes
1answer
49 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
13 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
15 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
31 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
61 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
0answers
22 views

How to detect exception occured in a Pod in Kubernetes?

I have a multinode kubernetes cluster. Multiple services are deployed as Pods. They communicate over each other via rabbitmq which also exists as Pod in the Cluster. Problem Scenario: Many time ...
0
votes
2answers
22 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
24 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
1answer
1k 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
116 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
72 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
403 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
67 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
1k 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
27 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
17 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
114 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
388 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
60 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
218 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
323 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
26 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
95 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
67 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 ...
1
vote
1answer
469 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
221 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
15 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
346 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
418 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
484 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
222 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 ...
1
vote
0answers
173 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
338 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
51 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
147 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
74 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
1k 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 ...
1
vote
1answer
574 views

How/where to get the ssh keys used when creating an aks cluster with “--generate-ssh-keys” option

We have created a AKS cluster using az aks create .... --generate-ssh-keys ..... How/where can we find the SSH keys that were generated, so we can use them? Thankx
1
vote
1answer
77 views

Why do I have a very high ARP traffic while running linux 4.10.13 with docker 17.09.0-ce?

I have a linux machine set up with docker that is running around 40 containers. I've noticed that the ssh connection feels really slow and all externally available services are laggy. On the ...
0
votes
1answer
135 views

Does using jails in FreeBSD count as having a switch?

My network administrators don't like when I plug switch into the building network to fan-out to multiple computers. They want single link drop per physical NIC. Previously the blocked those MACs on ...