Most Popular
1500 questions
28
votes
3 answers
Set a Jenkins job to not to clone the repo in SCM
I have integrated Jenkins with Bitbucket using the Bitbucket Plugin. As per the plugin's Wiki, a given job will be triggered if the repository is set in the SCM of the job. As you know, if one set SCM in a Jenkins job, this is cloned in pre-build…
Héctor Valverde
- 383
- 1
- 3
- 8
28
votes
5 answers
How to clean up orphaned AWS EC2 snapshots?
We end up with a fair amount of AWS EC2 snapshots where the AMI has been deleted, but the snapshot is left behind to rot. I'd like a non-manual way of identifying and deleting these orphans to save us money and space.
Ideally I'm thinking a bash…
Alex
- 4,512
- 6
- 27
- 47
28
votes
2 answers
Why use EXPOSE in Dockerfile -- since you can bind to all ports anyways
I can docker run -p 3000:3000 image without EXPOSEing that port in the container (see below). If that's true, then why bother putting EXPOSE in the Dockerfile? Is it just for communication to image users? Because I don't know of a functional reason…
Alexander Bird
- 395
- 1
- 3
- 6
28
votes
2 answers
How to have multiple log streams in docker
We have an application that writes three types of logs into three separate files: access logs, generic application logs and system logs. The format (and purpose) of these logs are very different. And we have separate logforwarders that send them…
SztupY
- 1,577
- 1
- 16
- 18
28
votes
7 answers
How to create the smallest working docker image every time?
Aim: to create the smallest working docker images every time
Current
REPOSITORY TAG IMAGE ID CREATED SIZE
a-docker-image latest x 42 minutes ago 1.92 GB
Attempt
Adding a cleanup…
030
- 13,235
- 16
- 74
- 173
28
votes
5 answers
Is DevOps restricted to companies with SaaS products?
The practices describing DevOps, such as continuous delivery, automation, etc. are relevant to products that provide continuous service, such as SaaS products.
For example, a software development company that mostly does projects for other clients…
Evgeny Zislis
- 8,963
- 5
- 38
- 72
27
votes
4 answers
What is an artifact (or artefact)?
The question about "What is an artifact repository?" contains an answer with an interesting explanation about the repository part of it.
And from reading the entire answer, I am not sure what exactly an "artifact" means in the context of DevOps.
Any…
Pierre.Vriens
- 7,205
- 14
- 37
- 84
27
votes
4 answers
What are some methods to measure the ROI for DevOps?
DevOps is complex, and involves many non-deterministic aspects like culture and process.
What are some ways to measure DevOps initiatives for success?
How do you prove to a business that the investment they have made is returning (or saving) real…
Dave Swersky
- 4,068
- 2
- 20
- 33
27
votes
4 answers
What is a container?
There are some questions about containers, such as:
What role do Configuration Managment tools play in immutable infrastructure?
Which problems does a container orchestration solve?
Simple CI/CD Containers in AWS
My questions:
What is actually a…
Pierre.Vriens
- 7,205
- 14
- 37
- 84
27
votes
5 answers
docker-compose healthcheck for rabbitMQ
I'm trying to run rabbitMQ using docker-compose, but the service is always starting or unhealthy.
rabbit is running fine, so I suspect there is something wrong with my health check.
Running the healthcheck command locally does return a value.
> curl…
ConorSheehan1
- 445
- 1
- 7
- 10
26
votes
5 answers
How to resolve merge conflicts in Azure DevOps current UI
I have followed the instructions on command line:
https://docs.microsoft.com/en-us/azure/devops/repos/git/merging?view=azure-devops&tabs=visual-studio
all I want to do is resolve this merge conflict its complaining about.
To be clear, I have done a…
Daniel
- 539
- 2
- 5
- 13
26
votes
2 answers
How to define variable in Jenkins declarative pipeline?
I defined variable in declarative Jenkins pipeline script but having issues with simple variable declaration.
Here is my script:
pipeline {
agent none
stages {
stage("first") {
def foo = "foo" // fails with…
Jay
- 994
- 2
- 10
- 20
26
votes
5 answers
How does continuous integration relate to continuous delivery / deployment?
Here is a quote from the current content of continuous-integration:
... process of merging developer's working code copies to a shared codebase frequently to prevent or minimize integration problems.
OK, I get that. But then there is also…
Pierre.Vriens
- 7,205
- 14
- 37
- 84
26
votes
3 answers
Difference between chroot and Docker
I don't understand the difference between docker and chroot. Yes its nice in terms of the packaging the registry. But somehow I get the feeling its just chroot with extra bells and whistles.
I know I'm missing something. It'd would be great to know…
Vipin Menon
- 473
- 1
- 4
- 6
26
votes
6 answers
How to prohibit access to internals of Docker container?
I want to deliver my app to customers in form of docker image. But it is crucial to ensure that end-user do not alter anything inside the container. User should only be able to run/stop the container and interact with the container via network.
Is…
Victor Mezrin
- 361
- 1
- 3
- 5