via Minimal docker : run your NodeJS app in <25mb of an image — Alessandro Nadalin.
Managing Docker images might become a bit of a painful experience, especially when looking at your storages: very “simple” images like node end up quite fat and contribute to sucking up a good chunck of your HDD.
At the same time, the most painful moment with Docker images is, at least for me, when you want to pull and run a brand new image, not available on your machine (or production servers, not much difference): you will need to wait until the whole image gets downloaded before being able to play around with it1.
At the end of the day, one thing is clear: we’d like to shrinkimages as much as possible. Turns out, the easiest solution is, as often, the simplest one: start small, end small.
There are plenty of resources on limiting the size of your images / containers, but today I am going to start with this very simple approach.
via Building Microservices, part 4. Dockerize your Microservices | Callista Enterprise.
If you tried out the earlier blog posts in our blog series regarding building microservices I guess you are tired of starting the microservices manually at the command prompt? Let’s dockerize our microservices, i.e. run them in Docker containers, to get rid of that problem!
I assume that you already heard of Docker and the container revolution? If not, there are tons of introductory material on the subject available on Internet, e.g. Understanding Docker.
This blog post covers the following parts:
- Install and configure Docker
- Build Docker images automatically with Gradle
- Configure the microservices for a Docker environment using Spring profiles
- Securing access to the microservices using HTTPS
- Starting and managing you Docker containers using Docker Compose
- Test the dockerized microservices
- Happy days
- Scale up a microservice
- Handle problems
- Next Step
via Deploying Java EE Application to Docker Swarm Cluster – Miles to go 2.0 ….
Docker Swarm provides native clustering to Docker. Clustering using Docker Swarm 0.2.0 provide a basic introduction to Docker Swarm, and how to create a simple three node cluster. As a refresher, the key components of Docker Swarm are shown below:
via Docker Machine on Windows – How To Setup You Hosts ~ Enterprise Software Development with Java.
Playing around with Docker a lot lately. Many reasons for that, one for sure is, that I love to play around with latest technology and even help out to build a demo or two or a lab. The main difference, between what everybody else of my coworkers is doing is, that I run my setup on Windows. Like most of the middleware developers out there. So, If you followed Arun’s blog about “Docker Machine to Setup Docker Host” you might have tried to make this work on windows already. Here is the ultimate short how-to guide on using Docker Machine to administrate and spin up your Docker hosts.
via Clustering Using Docker Swarm 0.2.0 (Tech Tip #85) | Miles to go 2.0 ….
One of the key updates as part of Docker 1.6 is Docker Swarm 0.2.0. Docker Swarm solves one of the fundamental limitations of Docker where the containers could only run on a single Docker host. Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.
via Installing Docker for Windows: Fixes for common problems – BlueMix Dev.
Bluemix includes support for running Docker containers and “Bluemix Launches IBM Containers Beta Based on Docker” explains how to get started. However, if you’re developing on a Windows platform, you may encounter some problems getting the Docker runtime installed and running successfully. This post describes problems I discovered when installing Docker on Windows, how I found advice for fixing those problems, and what I did that successfully resolved them.
via Building Minimal Docker Containers for Go Applications | via @codeship.
There are several great official and community-supported containers for many programming languages, including Go, but these containers can be quite large. Let’s walk through a comparison of methods for building containers for Go applications, then I’ll show you a way to statically build Go apps for containerization that are extremely small.