Questions tagged [devops]

This tag is for programming questions about DevOps ("development" and "operations"), which is a software development method that stresses communication, collaboration, integration, automation, and measurement of cooperation between software developers and other IT professionals. Non-programming related questions should be asked on the DevOps Stack Exchange site.

DevOps acknowledges the interdependence of software development, quality assurance, and IT operations, and aims to help an organization rapidly produce software products and services and to improve operations performance.

Venn diagram

DevOps integration targets product delivery, quality testing, feature development, and maintenance releases in order to improve reliability and security and provide faster development and deployment cycles. Many of the ideas (and people) involved in DevOps came from the enterprise systems management and Agile software development movements.

The adoption of DevOps is being driven by factors such as:

  • Use of agile and other development processes and methodologies
  • Demand for an increased rate of production releases from application and business unit stakeholders
  • Wide availability of virtualized and cloud infrastructure from internal and external providers
  • Increased usage of data center automation and configuration management tools

The goals of the DevOps workflow are best described as The three ways of DevOps

  1. Work flows from Business->Development->Operations->Customer as fast possible
  2. Increasing the feedback loops from Business<-Development<-Operations<-Customer
  3. Using fast feedback to build a culture of continuous experimentation and learning

While programming questions about DevOps are on-topic here, other questions should be asked on the DevOps Stack Exchange site.

Dev ops: WikiPedia

What is DevOps?

Related Tags

7915 questions
556
votes
23 answers

Docker container will automatically stop after "docker run -d"

According to tutorial I read so far, use "docker run -d" will start a container from image, and the container will run in background. This is how it looks like, we can see we already have container id. root@docker:/home/root# docker run -d…
J John
  • 5,591
  • 3
  • 11
  • 9
283
votes
14 answers

How to keep Docker container running after starting services?

I've seen a bunch of tutorials that seem do the same thing I'm trying to do, but for some reason my Docker containers exit. Basically, I'm setting up a web-server and a few daemons inside a Docker container. I do the final parts of this through a…
Eli
  • 36,793
  • 40
  • 144
  • 207
261
votes
37 answers

My docker container has no internet

I had it working allright but now it stopped. I tried the following commands with no avail: docker run -dns 8.8.8.8 base ping google.com docker run base ping google.com sysctl -w net.ipv4.ip_forward=1 - both on the host and on the container All I…
Romeo Mihalcea
  • 9,714
  • 12
  • 50
  • 102
85
votes
11 answers

Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

I am trying to download java using yum on centOs which I specified in Dockerfile. After pulling centOs image the run crushed and throw this error!? also to mention that my server instance is AWS EC2! Step 2/9 : RUN yum install java -y ---> Running…
Yusuf
  • 2,295
  • 7
  • 15
  • 34
76
votes
7 answers

Docker-compose, conditional statements? (e.g. add volume only if condition)

I want to add a volume to my service, but only if the final user gave a folder for it. Otherwise, no volume should be mounted, for the already-prepared image has valid data in a default folder. That is, I want to do something like…
juanmirocks
  • 4,786
  • 5
  • 46
  • 46
72
votes
3 answers

How can I change permission of mounted volumes in docker-compose.yml from the docker-compose.yml?

version: '2' services: web: build: context: ./ dockerfile: deploy/web.docker volumes: - ./:/var/www ports: - "8080:80" links: - app How can I change…
notalentgeek
  • 4,939
  • 11
  • 34
  • 53
67
votes
5 answers

Cannot kill container: : tried to kill container, but did not receive an exit event

I cannot stop, remove or kill my docker container. Commands given below with their respective error messages: 1. docker stop 2. docker kill 3. docker rm I get 1. Error response from daemon: cannot stop…
lapurita
  • 945
  • 1
  • 5
  • 11
64
votes
10 answers

How do I change timezone in a docker container?

I am running docker container for my development stack which I pulled from docker-hub, the image is created for a different timezone than where my application is supposed to be deployed. How do I change timezone in a docker container? I tried to…
mekbib.awoke
  • 1,094
  • 1
  • 9
  • 16
63
votes
6 answers

Using docker-compose to set containers timezones

I have a docker-compose file running a few Dockerfiles to create my containers. I don't want to edit my Dockerfiles to set timezones because they could change at any time by members of my team and I have a docker-compose.override.yml file to make…
nobody
  • 7,803
  • 11
  • 56
  • 91
61
votes
4 answers

ERROR: Service "xxx" uses an undefined network "xxx"

It keeps saying to me that the network is undefined. ERROR: Service frontend-network uses an undefined network frontend-network However, I see that there is already such a network with "docker network ls" What am I missing :( I need your help.…
WhoAmI
  • 1,013
  • 2
  • 9
  • 19
48
votes
7 answers

Is it a good idea to make Ansible and Rundeck work together, or using either one is enough?

Recently I'm looking at Ansible and want to use it in projects. And also there's another tool Rundeck can be used to do all kinds of Operations works. I have experience with neither tool and this is my current understanding about them: Similar…
shizhz
  • 11,715
  • 3
  • 39
  • 49
38
votes
1 answer

Use process.env in Angular 5 environment

I try to build an Angular 5 application with the standard ng build --prod command, and I want to set the basic API-Url in the environment.prod.ts to a value dependent on my process.env variables. This is my file: export const environment = { …
Freshchris
  • 1,211
  • 4
  • 17
  • 34
35
votes
4 answers

How to fix VM issue with minikube start ?

I am a beginner to Kubernetes and starting off with this tutorial. I installed VM and expected to be able to start a cluster by using the command: minikube start But I get the error: Starting local Kubernetes v1.10.0 cluster... Starting…
Satyajit Das
  • 2,740
  • 5
  • 16
  • 30
32
votes
1 answer

docker-compose: how to see file-changes instantly (when developing)

I am new to docker, so this may seem very basic to you, anyway - its freaking me out at the moment. I decided to develop a new web-project ontop of containers, of course i thought about docker. After finishing the tutorial and reading some…
Philipp Wrann
  • 1,751
  • 3
  • 19
  • 29
32
votes
3 answers

Using Vagrant to set up a VM with KVM/qemu without VirtualBox

I'm getting started Vagrant and want to use it with KVM/qemu (and the Virtual Machine Manager GUI), instead of installing VirtualBox. So I first installed Vagrant: $ vagrant --version Vagrant 1.9.1 $ vagrant box list There are no installed boxes!…
rahuL
  • 3,330
  • 11
  • 54
  • 79
1
2 3
99 100