Most Popular

1500 questions
15
votes
3 answers

What are best practices for docker tag versioning?

I've recently hooked our CI servers up to build docker images upon git commit. We have about 8 different containers that get built, each with their own language / frameworks. Some are node and have a package.json, others are python services that…
Jack Murphy
  • 333
  • 2
  • 7
15
votes
4 answers

How to increase the size of a disk on a running instance on Amazon EC2

I got a running instance of a EC 2 server setup with Ubunto. What's the best way to increase the disk size without any downtime and minimal risk? Reading through the guides, one way would be to create a new disk, migrate data, turn off the instance…
googletorp
  • 261
  • 2
  • 6
15
votes
4 answers

How to transition from a complex branching reality to a single-branch model?

In large organisations, using the waterfall methodology typically results in very complex branching structures (aka branch spagetti). What branching strategies can be used to transition from a complex branching reality to a single-branch model like…
Dan Cornilescu
  • 6,780
  • 2
  • 21
  • 45
15
votes
6 answers

Is Docker right for my use case?

My company has a system we sell that consists of basically a mini-computer "Smartbox" that is running Ubuntu 12.04. This box runs a Django application plus a number of different upstart processes related to it. Not much else. We have thousands of…
15
votes
2 answers

To design a blue green deploy how to publish websocket traffic from live to hot swap server

A blue green deploy involves pumping live prod data flows (blue) into a hot swap non prod environment (green) in preparation to deploy to live the green environment, such that the green has full data sync with the previous prod blue environment. I…
Scott Stensland
  • 479
  • 3
  • 15
14
votes
2 answers

Multi-language Monorepo

We currently have a "front-end" git repository that is all of our JavaScript client apps, and a "back-end" git repository containing all back end APIs written in .NET Core. There is also a few other random repositories built on differing…
user210757
  • 243
  • 1
  • 2
  • 5
14
votes
2 answers

Combine Docker Swarm and Kubernetes

My company is trying to play a little catch-up in the DevOps space. I have been doing a lot of research on containerization of applications and the orchestration systems that go with it. I came across an article (one that I wish I had saved) where…
EvanM
  • 248
  • 1
  • 6
14
votes
4 answers

Open Ports on Google Cloud Load Balancer

It seems that by default, Google Cloud load balancers expose a number of ports unecessarily. I haven't found a way to expose only 80/443 and every time I make one of their load balancers, the following ports are seen in an nmap: PORT STATE …
bootbeast
  • 189
  • 1
  • 6
14
votes
4 answers

Is running docker-compose not supported in BitBucket?

Aim The aim is to run docker-compose in BitBucket pipelines Attempt bitbucket-pipelines.yml image: docker/compose:1.12.0 pipelines: default: - step: script: - docker-compose up --build Outcome The Docker Engine version is…
030
  • 13,383
  • 17
  • 76
  • 178
14
votes
1 answer

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 Amazon EC2 Container Service Apache…
Evgeny Zislis
  • 9,023
  • 5
  • 39
  • 72
14
votes
2 answers

What is "Push on Green"?

Within Google and other DevOps organisations, they talk about "Push on Green" which I am lead to believe is the practice of continuous delivery based upon a successful run of automated tests, and presumably deployments to pre-live environments. What…
Richard Slater
  • 11,747
  • 7
  • 43
  • 82
14
votes
2 answers

What is "Infrastructure as Code"?

The phrase "Infrastructure as Code" has been mentioned several times in the last two weeks in different contexts. What does it actually mean in a practical sense to have Infrastructure as Code?
Richard Slater
  • 11,747
  • 7
  • 43
  • 82
14
votes
3 answers

How to not "fire and forget" when doing a remote trigger of a Jenkins build?

I am attempting to trigger a parameterized Jenkins build from Bamboo, doing the below: POST - http://jenkins-url.com/job/jobname/buildWithParameters?ENVIRONMENT=dev&APPLICATION=hello-world But I will get a 201 instantly which tells me that the…
osmorgan
  • 309
  • 1
  • 2
  • 7
14
votes
4 answers

Is there an idiomatic way to create reusable Packer templates?

I'm creating about 10-12 Packer templates which almost all work the same way. Same builder (Amazon EBS), with some small variations in AMI names, and almost the same provisioner (Ansible Remote) - sometimes with additional variables and sometimes…
Tim Malone
  • 1,265
  • 1
  • 13
  • 26
14
votes
2 answers

How to investigate a main process that has died in a docker container?

Sometimes you have to investigate a container, which is stopped, or a container which after starting up dies very quickly and stops. docker exec -ti bash only works on running containers, once it finishes, the bash prompt terminates as…
SztupY
  • 1,597
  • 1
  • 16
  • 18