Home » DevOps (page 5)

DevOps

Understanding Docker’s CMD and ENTRYPOINT Instructions

When creating a Docker container, the goal is generally that anyone could simply execute docker run <containername> and launch the container. In today’s article, we are going to explore two key Dockerfile instructions that enable us to do just that. Let’s explore the differences between the CMD and ENTRYPOINT instructions. On the surface, the CMD and ENTRYPOINT instructions look like ...

Read More »

Where Is the Deployment Space Heading?

With all the time I’ve spent of late assessing different deployment options, it seemed pertinent to stop for a moment and see where the deployment space is heading over the next couple of years. However, like any form of crystal ball-gazing, what we see happening in the future is only a prediction about what we think may come — even ...

Read More »

Leveraging the dockerignore File to Create Smaller Images

Keeping container image sizes small is one of the most common “best practice” tips out there. There is good reason for this; it’s very simple to let a container with a complex Dockerfile and a large application turn into a large container image. A large container image can eventually become troublesome if left unchecked. When deploying a container into production, ...

Read More »

Docker Enables Polyglot Shops

If your infrastructure is Docker based, you’ve already created an environment that isn’t dependent on a single language. Step 2 is realizing why the words “standardize on language y” no longer make sense. A while back, I wrote a piece on how Heroku streamlines a lot of the pain points of microservice architecture. One of the big wins I talked ...

Read More »

Building a PHP Command Line App with Docker

Over the past few months, I’ve started using Docker for all my local development work. Previously I had experimented with VMs, but because we deal in microservices, running six or more VMs on my Macbook Pro was starting to get cumbersome. Docker has clear advantages in system utilization, but I also like that my local configuration can easily be used ...

Read More »

Docker for Windows, Linux, and Mac

Released earlier in 2017, Docker’s new native applications for Windows and Mac replaced the older methods for running Docker on Windows and Mac and created a better experience for developers using those platforms. The previous solution, Docker Toolbox, depended on VirtualBox to create a small Linux virtual machine that hosted your images and containers. It worked well but could be ...

Read More »

The Pros and Cons of Hosted Versus On-Premise CI

Should you opt for an on-premise CI solution or a hosted CI solution? It’s one of those never-ending questions, a lot like “should I use tabs or spaces?” I don’t know that I nor anyone else is ever going to end this debate about continuous integration decisively. But what I can do, what I’m going to do in this post, ...

Read More »

Using Docker Behind a Proxy

In today’s article, I am going to explore a common pain point for anyone running Docker in a large corporate environment. Today I’ll show how to use Docker without direct internet access. By default, Docker assumes that the system running Docker and executing Docker commands has general access to the internet. Often in large corporate networks this is simply not ...

Read More »

Docker Node.js Example

Despite the controversy and different opinions that Node.js generates among web developers, after all, it’s a technology that it’s widely used, so, sooner or later, a web developer (and sysadmin) will have to face it, meaning this that everyone should have, at least, a basic knowledge about it. This example will show how to easily set up a Node environment, within ...

Read More »