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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [containers]

The tag has no usage guidance.

0
votes
0answers
20 views

Kubernetes accessing a replica behind a load balancer [on hold]

I have the following deployment and a load balancer service to connect to it: apiVersion: apps/v1beta1 kind: Deployment metadata: name: slave spec: replicas: 2 template: metadata: ...
0
votes
2answers
18 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
19 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
43 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
27 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
952 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
26 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
124 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
55 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
409 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
20 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
16 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
44 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", ...
0
votes
0answers
57 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
53 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
89 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
1answer
128 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
19 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
44 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
36 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
224 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
131 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
13 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
168 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
268 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
212 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
184 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
132 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
216 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
46 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
92 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
55 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 ...
0
votes
1answer
590 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
363 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
62 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 ...
1
vote
1answer
41 views

Containers to bare-metal [closed]

Deploying a Linux system can be as simple as mounting all the disks under the correct mount point, extracting a tarball with the system files and installing the boot loader. I know it works since I ...
0
votes
1answer
100 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 ...
1
vote
1answer
253 views

Configure dnsmasq to passthrough search domain to LXC guest? (Ubuntu 16.04)

Our network relies on DHCP tags to route clients to the correct upstream hosts without having to know the FQDN of those hosts. We use dnsmasq to set tags for clients by MAC address and then we push ...
3
votes
1answer
184 views

How to install ubuntu-server non-interactively?

I'm trying to build a ubuntu-server container for a development environment, but I'm prompted to select a keyboard layout, and character set. Running a container: docker run --rm it ubuntu In the ...
0
votes
1answer
31 views

Appplication not able to detect files on container

I have a tomee docker container on which I deployed an app, which runs on port 8080 , have exposed it using "docker run -p ". It can be accessed fine through the browser. However, this app requires ...
1
vote
2answers
256 views

Apache won't run inside container

I am running Arch Linux and on top of that, Ubuntu inside a systemd-nspawn container. I am suddenly having issues getting apache to start (inside the container). Everything was working fine a few ...
2
votes
0answers
143 views

Multi-Tenancy (Multi-user) GPU Container Infrastructure Solution [closed]

What we need: Several teams from different companies want to share our GPUs for deep learning tasks (three computers with several GPUs each). So manage multiple GPUs for multiple users. Different ...
0
votes
0answers
60 views

Docker container registration to Consul service discovery

I am trying to register multiple containers as services running on a single system (different ports) to our Consul hosts, but it seems that the service is getting overwritten every time a new service ...
3
votes
1answer
464 views

Azure managed container service (AKS) Static IP [closed]

az network public-ip create --name <name> --resource-group <rg name> --allocation-method Static --dns-name <dns name> { "publicIp": { "ipAddress": "1.2.3.4", ... "...
0
votes
1answer
40 views

How to create a encrypted linux container to deploy web application on external server?

I need to deploy a Rails application to client's on-premises server and I want to prevent the viewing and modification of source code. Client has physical and root access to the server. How can I ...
0
votes
0answers
238 views

Find out CPU and memory usage percent of Docker container within its running environemt

Does anyone know how to get resource consumption of a specific Docker container within its running environment? Outside of a container, we can get it easily by typing a command "docker stats". ...
2
votes
1answer
173 views

LXC container not connecting to bridge on startup

I'm struggling to get an lxc container to startup with proper networking. /etc/network/interfaces: auto lxcbr0 iface lxcbr0 inet static address 192.168.5.69 netmask 255.255.255.0 ...
1
vote
1answer
500 views

iptables NAT with network bridge, containers and systemd-networkd : no forwarding

I have some problem configuring an iptables NAT on CentOS 7. Currently client behind the NAT can reach the external IP but not the external network. I followed this tutorial to set up my NAT, knowing ...
0
votes
1answer
149 views

CentOS7 LXC Container shell access on Ubuntu 17.04 Host

I know this is probably google skills deficiency on my behalf but for the love of god I cant shell into a CentOS 7 container on an Ubuntu 17.04 host. user@ubuntu1704:~$ lxc shell centos7 user@...
1
vote
0answers
186 views

docker multi container: Linking wordpress container with mysql container within a docker network

I tried a simple tutorial to up and run WordPress in multi-container by following simple commands. docker pull mysql docker pull wordpress docker run --name yourSql -e MYSQL_ROOT_PASSWORD=abc123 -d ...