Questions tagged [containers]

Use for generic questions on containers that do not fall under a specific container technology, like Docker, LXC, FreeBSD Jails, OpenBSD sysjails, Solaris Containers, WPARs, etc. Also use where the specific technology is not relevant to the question.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

“NetworkPlugin cni failed to set up pod” error when deploying Pod, while Deployment work

For testing purpose, I want to keep things simple and run a Python Docker image on Kubernetes. So I used a Pod as smallest unit, based on the official template from the Kubernetes docs: apiVersion: ...
0
votes
1answer
37 views

What is the performance different running docker on Windows versus Linux?

We are looking at containerizing some of our applications and servers, Redhat servers to be more specific and there is an idea to run Docker on windows instead of Linux so the end user has an easier ...
1
vote
0answers
14 views

Accessing TPM from inside a Docker Container

I want to implement Vault as part of the DevOps build pipeline to store all the secrets like passwords and certificates. I understand that Vault keeps the data encrypted but I have been asked me to ...
0
votes
0answers
16 views

How to get into an App Container Manually with Garden-RunC Backend

So I have been trying this-tutorial to access the runC container from the diego-cell VM. However, when I try to run /var/vcap/packages/runc/bin/runc exec -t <instance_id> /bin/bash I get the ...
0
votes
0answers
13 views

How to build asp core 2.2 linux image on Hosted Windows 2019 with VS2019?

I'm currently redefining our build pipeline and build our sources by using the VM image windows-latest which currently resolves to Hosted Windows 2019 with VS2019. After calling publish I get my ...
1
vote
2answers
52 views

Why is docker container recreated

I'm testing Wordpress docker on an Amazon EC2 machine. yesterday, all file based changes (like plugins, themes, etc) were gone. The Ec2 machine is up for 8 days, other containers are also up for 8 ...
0
votes
1answer
12 views

How to scale the control plane of a service mesh?

Scalability in the data plane is easy to achieve by simply having more replicas. The configuration the proxies receive from the control plane makes that possible . However, if the number of services (...
5
votes
1answer
25 views

How do you monitor and alert on thrashing containers?

Are there any proposed best practices for how to monitor for thrashing containers? We're in a situation where we have containers that might try to come up and will crash -> restart a few dozen times ...
0
votes
0answers
13 views

Build custom Linux distro ISOs with Docker?

Is it actually possible to use Docker containers as build environments for popular Linux distros like Ubuntu, Debian, CentOS, CoreOS or will be there some limitations? That is, output would be an ...
1
vote
0answers
20 views

Deis Workflow Alternative

We're looking to build an internal Heroku-like PaaS that supports clustering and a DFS. We found Deis Workflow that seems to do exactly what we're looking for, but the project has since been ...
0
votes
0answers
374 views

helm - cannot get resource “namespaces” in API group

I installed Kubernetes, helm on the Ubuntu 16.04.6 Box, I want to deploy kubernetes-dashboard using helm but getting below error while installing it $ helm install stable/kubernetes-dashboard --name ...
0
votes
1answer
23 views

How do I create a Docker container which just waits to be shelled into?

I'm testing a Docker container for development. And at the moment I just want to provision it with some libraries. After which I want to connect to it and test that I have all the libraries I need. ...
0
votes
0answers
10 views

Possible to preferably route incoming traffic to local task(s)/container(s) on worker in a swarm cluster?

I know the mesh networking and ingress load balancing is a great thing about swarm, but I was wondering if there a possibility that when a swarm worker receive a request, it always forwards it ...
0
votes
1answer
79 views

What is the difference between dockerd and com.docker.service in Docker for Windows?

What is the difference between dockerd and com.docker.service in Docker for Windows? Or rather I should ask: why do I need (if I need) com.docker.service running? Intention: I want to use Docker only ...
1
vote
0answers
10 views

How can I test native macOS UI software in a container before deployment?

As part of the CI setup, I'd like to run (automated) tests on native macOS GUI software in a 'safe environment' (i.e. without messing with the host software installation too much). Virtual machines (...
0
votes
2answers
81 views

What is the cheapest way to get CI for a Qt project?

To build up my portfolio I'm writing an application to showcase all the best practices I'm aware of, including unit tests and continuous integration. The project was originally started in C++, and I ...
0
votes
0answers
21 views

Interface from systemd-machined.service to container and VM managers

machinectl(1) states the following: systemd-machined.service(8) also interfaces with a variety of other container and VM managers, systemd-nspawn is just one implementation of it. What are the ...
3
votes
1answer
84 views

Process auditing in containers

I've read numerous articles on this going back to 2013, but what I wasn't able to ascertain is whether a reliable method has yet been devised for auditing processes inside a container. This question ...
1
vote
3answers
130 views

How to stop a container dying at the end of an execution?

I'm running git-all-secrets over our organisation to ensure we have nothing exposed. I'm doing this using: sudo docker run --rm -it abhartiya/tools_gitallsecrets -org <org> -output /root/output....
0
votes
1answer
144 views

How to build windows image on azure dev ops hosted agent

The host agent pool on azure-devops to build windows container, Hosted Windows Container is running Windows Server version 1803. But I want to deploy on Windows Server 2019, so instead of using ...
0
votes
1answer
23 views

Is “running several Linux distributions on the same host” a good justification for container adoption?

I need to justify container adoption. I have several solid arguments, but one is making me dubious. Is it correct to say software can "run better" or "worst" depending on the Linux distribution? Here ...
3
votes
0answers
27 views

Blackbox testing vs openbox testing applications in a containerized environment

We use containers to deploy our Node.js applications. But currently, the development and a good share of testing is done by the developers on their own host system and thus using different versions of ...
0
votes
0answers
43 views

How to build docker image from git repository with root context and Dockerfile inside a subdirectory

In the docker documentation one can see that it is possible to build an image from git repository. It is even possible to make a build from the selected branch and directory. I have a repository with ...
0
votes
2answers
33 views

Is there a good standard to follow when choosing a service mesh for your microservice application?

The industry appears to have chosen the de facto standards for containers (docker) and orchestration (kubernetes) but this doesn't appear to be the case for the options for implementing a service mesh....
4
votes
2answers
93 views

If we are using containers do we still need to worry about configuration management at an infrastructure level?

We are about to begin our journey with containers and I am wondering if we still need to utilize something like Chef, Ansible, Terraform, etc. to ensure that our infrastructure is properly maintained? ...
1
vote
0answers
39 views

How to automate a work-flow in the cloud?

I'm currently trying to scale a crawler in the cloud. I'm wondering what would be the best way to automate the work-flow, considering the following conditions: - Guaranteed bandwidth, CPU and memory ...
0
votes
1answer
51 views

container on same network with host

Our application is a combination of 4 different applications. The graphics part is running on a host and other 3 applications are running on 3 different VMs. Which uses bridge networking. eg. ...
0
votes
0answers
85 views

PiHole on LXC, forwarding port 53

So, I'm trying to install PiHole on an LXC container, on a remote server. However it's not resolving my queries. Here are things which I'm sure of: PiHole has been installed successfully. It is able ...
3
votes
1answer
40 views

Docker Persisting Data During Build

I am trying to create a custom container which also contains MongoDB (hence not using the official MongoDB container). I am trying to add authentication to the database, and I think I am having an ...
1
vote
0answers
141 views

running httpd and nginx in the same pod kubernetes

I am not able to run both apache (httpd) and nginx in the same pod. Indeed both containers are running on port 80. # kubectl logs -f multi-container -c apache (98)Address in use: AH00072: make_sock: ...
1
vote
2answers
40 views

Containers Orchestations and some docker functions

I am familiarizing with the architecture and practices to package, build and deploy software or unless, small pieces of software. If suddenly I am mixing concepts with specific tools (sometimes is ...
0
votes
0answers
240 views

Permission issue with Persistent volume in postgres in Kubernetes

I know this question has been asked repeatedly but not fully answered. I have a postgres running in as root user in a container which is using the persistent volume. But it seems like there is ...
0
votes
3answers
94 views

How to get exposed ports from inside of container?

I want to know which port(s) are exposed when user run the image. docker run -p 1000:1234 myimagename I want to get 1234 value in container since I will use it for some configurations(IIS bindings ...
3
votes
1answer
127 views

How to handle large deployments using tools like gitlab and docker

How to deploy multiple instances (40+) of the same application with gitlab? (it is a simple tomcat web app) I want to be able to individually upgrade/downgrade them using web interface. We already ...
2
votes
0answers
44 views

How to deploy large web app in container minimal data transfer?

In current deployment of a web app we are using svn to deploy a specific revision from a repository. The amount of data transferred is just the diff between the currently deployed revision and the ...
0
votes
2answers
17 views

Create clean/blank MacOS fs on MacOS or Linux

In developing/testing OSS libraries I can replicate a clean Linux fs using containers. However, if I want to test oss libs for MacOS end users, I seem to be in a bit of a quandary. Is there any way to ...
2
votes
1answer
33 views

Docker Deployment strategy for microservices project

i am new to the ops side of devops and was hoping for some clarification. Specifically, if in a microservice based project you have multiple jars and each jar gets deployed in a VM on the same ...
-1
votes
1answer
38 views

Maximally-self-managed hosting-platforms and OS-and-above containerizators (like Vagrant)

A maximally-self-managed hosting-platform like DigitalOcean/Linode lets a customer quickly create its own VPSE (Virtual Private Server Environment) which includes a common FOSS operating system like ...
2
votes
3answers
46 views

Cross region replication of Redis Docker container data

I am looking for some help with figuring out a way to take a Redis Docker image and then do near real time replication of the data to another server maybe over an SSH tunnnel. I need this to be able ...
2
votes
0answers
337 views

ECS ELB Health Check Fails

The health check on our ECS cluster is failing on a service that is using an ELB Network Load Balancer on TCP port (gRPC running in docker alpine). The service is using dynamic port mapping for ...
0
votes
0answers
38 views

Not able to install Docker CE 17.x or 18.x on RHEL Linux

I am trying to install docker latest version using the below curl commands: $ curl -fsSL get.docker.com -o get-docker.sh $ sh get-docker.sh But this script is not working for my RHEL 7.x Error : ...
1
vote
1answer
203 views

Error during setup of clairctl for container scanning with clair

I am trying to setup clairctl to scan our application images and so wanted to install the full stack of clairctl, clair scanner & postgress database. I did the following steps: Acquired a VM ...
3
votes
4answers
193 views

DevOps tools and automation of manual processes

This is a general question, but couldn't find a better place to ask. I'm a new DevOps member in a company, and I've been ask to "update" our DevOps technologies. Generally speaking, in what areas do ...
1
vote
2answers
62 views

Automated tag versioning on unchanged docker images

I am starting to use Continuous Integration on my microservices solution (monorepo approach), and I am referencing this post for versioning approach. But, let's say I make some change in one of the ...
2
votes
1answer
407 views

How to assign static ip in docker for Windows for linux container?

I want to assign static ip to my docker container in docker for Window for linux container. I have achieved same in linux container using macvlan but macvlan doesn't support for docker for Windows. ...
1
vote
2answers
699 views

Scheduling a Docker Container or Installing Scheduler in Container

I have an interesting question related to scheduling my Docker Container. I have a virtual machine with a docker image inside of it. I can spin up a container from the image that has an entrypoint (...
2
votes
2answers
106 views

Getting data from crashed docker container

I am having docker container with Ubuntu installed which was running with Nvidia docker But now I connected that HDD in a different computer. Now After typing following command in newly assembled ...
0
votes
0answers
18 views

How to filter out system-generated calls in monitoring of Azure Webapps?

My setup is as follows: I have an Azure WebApp for containers, where one of the setting is 'Always On', which means that Azure sends a call periodically to keep the container instance/VM warmed up. ...
0
votes
0answers
61 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 ...
1
vote
1answer
30 views

In a Database Per Service model - should i include the database in the service container?

I am implementing a simple setup with two micro services and would like each of them to have their own DB - each service is running in it's own container. Should i include the DB's in each service ...