Quantcast
Channel: Active questions tagged containers - DevOps Stack Exchange
Browsing all 164 articles
Browse latest View live
↧

kubelet connecting to docker.sock instead of containerd.sock

Kubernetes version: latestInstallation method: kubeadmHost OS: debian9container runtime: containerdKubelet fails when starting and after inspecting the logs using journalctl -xeu kubelet i see that it...

View Article


Why it is recommended to run only one process in a container?

In many blog posts, and general opinion, there is a saying that goes "one process per container".Why does this rule exist?Why not run ntp, nginx, uwsgi and more processes in a single container that...

View Article


Change docker container’s log PATH

Team:All my container logs are under /var/log/containers..Where in kubelet or docker config can I specify this path such that logs are instead created under new path?Ex : /shared ? Instead of /var/log

View Article

kubernetes quota vs limit. What are they? How are they different? When should...

I have been reading through the docs but it still is not clear as to why I should use one or the other. They have great examples of how to configure them but don't answer the why for quotes or limits...

View Article

How can I use a buildah script for image generation using GitHub Actions?

Buildah scripts typically use shell. You can see an example of a script here,#!/bin/shctr=$(buildah from alpine:3)buildah commit "$ctr" myAlpineImageLet's say I have such a shell script that produces...

View Article


How to create a local network mapping in linux

I'm deploying nextcloud via docker, however the way the configuration is set up, it creates a subnetwork at 10.10.10.0/24 on the system it's running on instead of running it on 127.0.0.1. Then the only...

View Article

Docker Build Ending Up `returned a non-zero code: 1`

Running mktexlsr /var/lib/texmf ... done.Building format(s) --all. This may take some time... done.build.sh: line 81: -: No such file or directoryThe command '/bin/sh -c bash build.sh' returned a...

View Article

Increase concurrent users by limiting container resources with docker-swarm

Consider the scenario where I have:4 replicas of an app4 coresOn load, the app consumes 100% for a single coreCan I tell each replica to only use 50% of the core and if so, would this allow at most 8...

View Article


Does RAM Come Into The Container vs VM Decision?

I am currently running a Java trading system on a VM that needs ~32 GB RAM and runs (almost) 24/7.There are a couple of engines linked to it that require 4GB + 8BG respectively.I am considering moving...

View Article


Container Image Promotion across environments in ECR/ECS

We have started doing some initial work on deploying containers on ECS Fargate service.However we are not yet completely figured out how to manage our image promotion across different environments.In...

View Article

How to build, package and deploy a react-native-web app in a Docker container?

Given there is a react-native-web solution, what needs to be done to build it and run inside a Docker container?What is the build environment/toolchain?Which environment is required to run?From what I...

View Article

Service to service communication - through proxy or direct?

A common scenario is two or more services behind a reverse proxy, typically each deployed in a container:| service 1 | | service 2 | \ / \ / \ / | Proxy |Now the two services want to talk to each...

View Article

Testing docker image builds when low level libraries change

BackgroundIn our organization we have many small repos for shared libraries used among our applications. Particularly, we have many Python libraries and Python applications. We have a structures...

View Article


What is the effect of setting up CPU limits on docker containers according to...

Let's say I have a Linux machine with 10 CPUs (1000%) and a docker container that at its peak consumes 500% of the CPU and the process takes 10 hours to complete (let's say it runs most of the time at...

View Article

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/bashI get the...

View Article


When do I run applications on a server in a pod and when to run them directly...

I am trying to get started in the DevOps Field by setting up a small server currently with Virtualbox, later on for a small team. For my basic setup I plan to use gitea as self-hosted git and Jenkins...

View Article

Is it possible to setup two different types of brokers on a signle cluster?

Mqtt provides methods to work at scale by putting multiple containarised brokers in a kubernetes cluster. I seen EMQ usecase https://www.emqx.io/blog/emqx-in-volkswagen-iov for achieving this using...

View Article


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 to look...

View Article

Developing of my app: container technology as a development technology itself...

Disclaimer!I know this forum is for DevOS and my question is not about deployment, but it's about development.BackgroundI was using a laptop with openSUSE Leap 15.1 to develop a Qt app. I upgraded to...

View Article

Is it possible to have containerized pipelines in Azure Devops using a...

Azure devops supports containerized jobs. This is where the build is executed inside the a docker container of the specified image. (Not to be confused with a pipeline that builds a docker image)But...

View Article
Browsing all 164 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>