Home » Tag Archives: Docker

Tag Archives: Docker

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 »

Using Docker Compose for NodeJS Development

Docker is an amazing tool for developers. It allows us to build and replicate images on any host, removing the inconsistencies of dev environments and reducing onboarding timelines considerably. To provide an example of how you might move to containerized development, I built a simple todo API using NodeJS, Express, and PostgreSQL using Docker Compose for development, testing, and eventually ...

Read More »

Using Docker Compose for Ruby Development

Docker is an amazing tool for developers. It allows us to build and replicate images on any host, removing the inconsistencies of dev environments and reducing onboarding timelines considerably. To provide an example of how you might move to containerized development, I built a simple todo API with Ruby on Rails and PostgreSQL using Docker Compose for development, testing, and ...

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 »

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 »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook