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
13
votes
2answers
571 views

What role do Configuration Managment tools play in immutable infrastructure?

If I'm using immutable servers/containers, do I need tools like Chef, Puppet, Ansible, or Salt? Those config management tools are designed to establish a configuration and then maintain it. If I'm ...
0
votes
2answers
279 views

how to send a password to MySQL with docker?

Just getting started, want to run the downloaded version of mysql: root:~# root:~# docker images REPOSITORY TAG IMAGE ID CREATED SIZE basex/basexhttp ...
122
votes
5answers
52k views

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 ...
19
votes
2answers
5k views

Where should I put my application configuration?

I've been reading lately a debate about "Where should properties that depend on the environment be stored?". The classical way is to have multiple property files, one by environment, and based on an ...
15
votes
3answers
967 views

Simple CI/CD Containers in AWS

I am using AWS Code Pipeline, Code Build to create a new Docker container and push it to ECR. My application is a simple straight-forward single-container based. What would be less friction approach ...
13
votes
1answer
716 views

Which problems does a container orchestration solve?

Every company who has anything to do with containers these days, including public cloud providers, is creating their own solution for container orchestration. These include: Kubernetes Docker Swarm ...
3
votes
1answer
1k views

Running multiple websites on Docker in isolated or shared database containers?

So I have been reading up on Docker, and I cannot quite get my head around this concept. There are literally dozens of tutorials on the web about spawning a Wordpress instance on Docker within 5 ...
1
vote
2answers
186 views

Is there evidence to suggest that the Docker/Hashicorp ecosystem requires a higher calibre of software development engineer?

Our build system at work is a series of Go pipelines with go agents running in docker containers on a docker cluster. It compiles java and runs tests. This is in a financial services institution. We'...
6
votes
1answer
403 views

Does the “cattle not pets” distinction apply as equally to machine instances as to containers?

There is a great discussion of the Cattle vs Pets distinction from Randy Bias here. Martin Fowler talks about a SnowFlakeServer. In a series of talks, Adrian Cockcroft talks about how they moved ...
6
votes
0answers
51 views

Blackbox testing vs openbox testing applications in a containerized environment [closed]

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 ...
5
votes
1answer
76 views

Defined start sequence of containers

AFAIK you cannot influence the order how Docker Swarm starts containers for services. Is that possible with: Mesos? K8s (Kubernetes)? Rancher? Other? This question is not about specific ...
5
votes
1answer
3k views

Does Docker on MacOS support tmpfs?

I am new to Docker and I want to run Docker with ram only storage. In other words, I do not want Docker to save anything on persistent storage. I found out that on Linux Docker supports tmpfs. Is ...
2
votes
1answer
66 views

How to Connect Docker Containers?

In "What is a container?" the docker docs show the following nifty image: For my scenario I have only App A and App B; let's designate them Alice and Bob. How do Alice and Bob communicate, ...
1
vote
4answers
348 views

how to start a docker container which dies immediately after startup?

On the understanding, from #docker on IRC, that the basex container from docker hub died after starting up, how do I now make it run something which doesn't immediately exit? I'm only trying to get a ...
0
votes
1answer
44 views

how to push an image to docker hub?

How do I push this image to docker hub? root $ root $ docker images helloworld_web REPOSITORY TAG IMAGE ID CREATED SIZE helloworld_web latest ...
0
votes
1answer
110 views

How to gain console access to a MySQL server running on a docker container from the host?

I thought I had this working a few minutes ago: root $ root $ docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS ...
0
votes
1answer
940 views

docker: Error response from daemon: Conflict. The container name “/basexhttp” is already in use by container

Am I even correctly following the documentation on creating and running a docker container below? [root@ ~]# [root@ ~]# docker run -d \ > --name basexhttp \ > --publish 1984:1984 \ > ...
0
votes
1answer
448 views

cannot get bash prompt: Error response from daemon: Container foo is not running

A basic jetty container: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ...