ERROR: Unable to read database state: No such file or directory
I was trying to install Photon by pulling the docker image. But when I run docker build -t photon . I am getting the below error. ---> Running in 3076fb42ef8bERROR: Unable to read database state: No...
View ArticleHow are containers secured with MACVLAN networks?
Containers cannot be connected both to an internal bridge and to the host network at the same time, according to this question. However, this is what I need; I want a set of containers to be connected...
View ArticleCombine Helm charts or leave separate?
I'm new to Helm and my first task was to recreate a simple pipeline. This pipeline is just:PostgreSQL -> Spark, with ELK monitoring the instances.Someone mentioned I may be able to combine all of...
View ArticleDo docker layers work at file level or block level?
I'm considering using a Docker image as way to snapshot a MySQL database after fixtures have been loaded, in order to quickly restore the snapshot before each acceptance test.In order for this to be...
View ArticleHow to delete an existing label in a deployment with helm upgrade
I have an existing deployment that has the label importance: normal in spec/template/metadata/labels (all the pods spawned from this deployment have that label in them).The current deployment yaml does...
View ArticleAfter removing Docker container, why is it automatically re-created?
I'm using ubuntu-16.04 desktop and installed Docker-1.5-1 and docker-engine-17.05.0~ce-0~ubuntu-xenial, in which I installed openmedicus/phplist. My aim is to remove the container, and the image as...
View ArticleAzure DevOps Pipeline failure - Program does not contain a static 'Main'...
I have been tasked with deploying an email service to an Azure tenant using Windows Containers. In my Pipeline (Azure DevOps), I am receiving the following error when in the build step:CSC : error...
View ArticleWhy does running a nginx image in docker interactive mode makes nginx not...
I have made a docker container from nginx running in background this way:docker run -d --name nginx1 -p 49699:80 nginxWhen I go to localhost:49699 on a browser with cleared cache it works properly as I...
View ArticleHow can I make an image out of a k8s specific pod container
I have made a pod, and it has only one container, I've been able to connect ot it by using kubectl exec -it -c <container_name> <pod_name> bashAnd I've installed and done several stuff on...
View ArticleWay to detect base container version for pods
I am trying to understand how companies detect that a Kuberentes pod is running a container that is based on a container image that is out of date.So, for example, say I have an application called...
View ArticleWhat is best practice for passing files and directories as command line...
I am working to containerize a program. The program requires a configuration file and directories for its operation, which are passed as command line arguments, e.g. something like this:$ myprog -c...
View ArticleHow to get the IDs of Docker Containers that belong to a Service, given the...
BackgroundI'm trying to maintain some websites running in a Docker Swarm. I want to do security updates on them.In a non-Docker environment, like a VPS, my simple process is that I would connect in and...
View ArticleProcesses in "podman build" have lower file descriptor limit than processes...
I'm running podman 3.4.4 on Ubuntu 22.04 LTS server.I have been having podman build issues that are not reproducible if I do those steps after the container build using podman run.Eventually I traced...
View ArticleWhat is the performance difference between running Docker on Windows versus...
We are looking at containerizing some of our applications and servers (Red Hat servers to be specific), and there was an idea to run Docker on Windows instead of Linux so the end user has an easier...
View ArticleHow to run nerdctl run inside a container?
This is not for building inside a container, this is for running containerized CLI tools in a Job. I know the security implications. This is a lateral move security wise from DooD just to get us to EKS...
View Articledocker | database connection refused between two containers
I have a mysql database running with the following docker-compose.yml:version: '3.3' services: db: image: mysql:5.7 restart: always environment: MYSQL_DATABASE: 'demo' # So you don't have to use root,...
View ArticleWhat is the difference between dockerd and com.docker.service in Docker for...
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...
View ArticleOn Azure, how do I run a short-lived Docker container on a schedule?
I have a fairly simple Unix shell script packaged up in an Alpine Linux Docker container hosted on an Azure container registry. A VM runs this script with cron:docker login <snip>docker pull...
View ArticleHow to manage lxd server configuration by ansible?
I am trying to set up the lxd global, server settings with ansible. Note, these are not the instance or container settings, these are the global settings of the lxd daemon. For example,...
View ArticleContainer orchestration vs. VM orchestration in the cloud
I'm trying to understand the specific use cases where we'd prefer to use container orchestration (Kubernetes) as opposed to VM orchestration (Nomad) in an unmanaged cloud setting (e.g., EC2)It seems to...
View ArticleCreating container image without docker
Is it possible to build a container image as a simple user account on a system which does not have docker or podman installed? In other words, is there a user-space tool/application which can build an...
View ArticleMake AMD GPU available in Docker container
I am running g4ad family instances on AWS. I am running there docker containers where I need to access the AMD GPUs.The used AMI for host instance is Amazon Linux 2 optimised for AMD.The base image for...
View ArticleCollecting logs from Kubernetes container file system (not from stdout or...
I am trying to find a way to get Promtail collect logs from a container file system. These logs were not generated using the standard output, which automatically gets discovered by Promtail. They have...
View ArticleDifference between Docker container with Debian vs VM with Debian?
What is the difference between running a Docker container with Debian (eg. https://hub.docker.com/_/debian/) and then running a virtual machine with Debian? And why is it still an advantage if any?I'm...
View ArticleI can't run a pod after installing a cluster
I'm learning kubernetes and I installed kube cluster with kubeadm. and I wanted to install the counter pod. but I get the following error. can you help me ?Events:Type Reason Age From MessageWarning...
View ArticleIsolating Virtual Input Devices for Multiple Containers Using Podman
I am running multiple Podman containers on a host system, each of which requires its own isolated set of virtual input devices created by Xorg (or PCoIP agent). The application running inside these...
View ArticleIn kubernetes, I want to restrict my pod scheduling on worker node if memory...
For eg: worker node(W) have 64GB of memory and 16vCPUsresources assigned to a pod : cpu - 4 , memory- 8GBNow only 4 pods can be scheduled on worker node(W).How can i achieve this ?Node affinity , node...
View ArticleHow to run multiple services in docker compose file
Below is the docker-compose.yml file that I am using to run multiple containers:services:#############################| auth |############################# rule-auth: build: context: ./ms_auth...
View ArticlePodman containers fail when agent finishes the job
I am using an Azure DevOps self hosted agent to automate starting containers on an Azure VM. The agent uses the "podman-compose up -d" command and all is well as long as the agent's job is still...
View ArticleAre there examples of other production grade container runtimes?
While we say "Docker is just one possible container runtime", are there other implementations used in production environments as of late 2019, and do they have different approaches? (while Docker being...
View Article