Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
2
votes
3answers
61 views

How to get the next friendly name that Docker will assign to the container it will make?

Background When you start a Docker container as in the following example: $ docker run -ti ubuntu:latest Docker docker automatically assigns the container an ID and a friendly name. Docker ...
2
votes
1answer
31 views

What's the relationship between ContainerD and Docker?

I'm aware that Kubernetes uses containerd internally and that containerd is part of Docker. Does that mean that Kubernetes only uses certain parts of Docker to provide orchestration of containers? ...
1
vote
1answer
29 views

Are 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 ...
2
votes
1answer
30 views

What are the best practices for anti-virus / anti-malware when using containers?

One of the SOC 2 controls is apparently around ensuring antivirus/anti-spam/anti-malware is running on production servers. I've been googling to see if there are any recommendation/best practices for ...
3
votes
3answers
64 views

Does every docker container has a a OS?

Does every container have an OS? For example, the base docker python image has a default OS in it? I couldn't find any info on Google. I am in doubt because there are some images made with Python ...
2
votes
1answer
35 views

Container for every user

Please help me here based on your experiences. We have launched a desktop application where users can download all their online data from several platforms at one place. Our motto is to provide users ...
1
vote
1answer
29 views

Docker container stuck in “new” state - Docker swarm - service stack

I am deploying a service stack to a Docker swarm like so: $ dt stack deploy --with-registry-auth -c tmp.stack.docker-compose.yml tmp Creating network tmp_my-network Creating service tmp_my-service $ ...
1
vote
1answer
114 views

jenkins stuck “Please wait while Jenkins is getting ready to work”

I've been trying to get a simple jenkins master node to start but it keeps getting stuck at the "Please wait while Jenkins is getting ready to work". My setup is nothing exotic: jenkins is installed ...
0
votes
0answers
15 views

High-level initialization/deployment options

What are the existing options for high-level initialization and deployment of the infrastructure needed for containerized environments? For the sake of an example, lets say I want to end up with a ...
1
vote
1answer
39 views

Container runtime Vs orchestrator

The terms container runtime and orchestrator always confuse me. Can someone please put these in simple terms? Thanks
0
votes
0answers
523 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
45 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
169 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
1answer
53 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
51 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
65 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
25 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 (...
6
votes
1answer
41 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
23 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
43 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
2answers
2k 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
27 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. ...
1
vote
1answer
200 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
267 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 ...
4
votes
1answer
179 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
344 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
273 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
25 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 ...
6
votes
0answers
41 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
152 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
39 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
129 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
40 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
60 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. ...
3
votes
1answer
51 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
188 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
44 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
3answers
112 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
137 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
46 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
36 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
41 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
60 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
424 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 ...
1
vote
1answer
349 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 ...
4
votes
4answers
199 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
79 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
582 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. ...