Home » DevOps » Page 8

DevOps

Docker Environment Variables Example

When we create a Docker container, sometimes, we have the need of passing “arguments” to it, typically, port numbers for services, or some paths. For this, we configure the environment variables of the container, and that’s what this example is going to show. For this example, Linux Mint 18 and Docker version 1.12.1 have been used.         ...

Read More »

Continuous Deployment of Docker Apps to Kubernetes

In the first post of this series, we introduced using Kubernetes for deployments. In this post, we’ll get started with integrating Codeship into the workflow. Given a functioning Kubernetes Deployment (remember our discussion from the last post about the difference between deployment and Kubernetes’ Deployment), how do we integrate it into our Codeship workflow? The answer to this question ultimately ...

Read More »

Docker Remove Container Example

This example will show how to remove Docker containers, that is, instances of images. For this, we will be using the rm command, along with other options, for making the removal more flexible. For this example, Linux Mint 18 and Docker version 1.12.1 have been used.             Tip You may skip Docker installation and jump ...

Read More »

Using Kubernetes for Deployments

Let’s learn how to set up continuous deployment to Kubernetes for your Docker apps. Specifically, we’re going to look at automating the management, deployment, and scaling of your containerized applications. In a nutshell, Kubernetes is an open-source system for automating the management, deployment, and scaling of containerized applications like Docker. It’s an incredibly powerful tool which we’ll have a closer ...

Read More »

Docker Start Container Example

A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming. This example will show how to start containers, that is, making run images instances. For this example, Linux Mint 18 and Docker version 1.12.1 have been used.         Tip You may ...

Read More »

Container Image Immutability and the Power of Metadata

One of the principles of Docker containers is that an image is immutable — once built, it’s unchangeable, and if you want to make changes, you’ll get a new image as a result. In this post, we’ll take a deep dive into the immutability of containers, and then we’ll look at some of the consequences and potential problems, as well ...

Read More »

Docker Storage: An Introduction

There are lots of places inside Docker (both at the engine level and container level) that use or work with storage. In this post, I’ll take a broad look at a few of them, including: image storage, the copy-on-write mechanism, union file systems, storage drivers, and volumes. You’ll need Docker installed locally on your machine if you want to try ...

Read More »

Docker List Containers Example

This example will show you how to list containers with Docker, one of the most popular software of the moment. Apart from just listing the containers, we will see the useful options that this command is provided with. For this example, Linux Mint 18 and Docker version 1.12.1 have been used.             Tip You may ...

Read More »