Trifork Blog

Posts Tagged ‘docker’

Interview with Sam Newman, author of Building Microservices

July 6th, 2017 by

After living in Australia for the last five years, the Londoner, and author of the well-received Building Microservices, has returned home to focus on his business as an independent consultant. We caught up via Skype to discuss his upcoming visit to Amsterdam and the tech trends that he is keeping his eye on.

Reading time: Less than 5 minutes

Read the rest of this entry »

GOTO Amsterdam 2015: The Docker track

April 21st, 2015 by

GOTO Amsterdam 2015 holds the promise to be a unique experience. We looked at the global and local trends, we listen to the communities and we learn from the local heroes who we consider experts on a specific subject. We’ve asked these local heroes to be our trackhosts and help shape our tracks. They know who give the best talks. They know what are the most important topics. They know what the questions are, our audience will ask themselves during the projects.

Their task was not simple though. We’ve asked them to shape their track so awesome, they couldn’t stop talking about it. In this first article Pini Reznik, our trackhost for the Docker track, explains why the docker track is that awesome!
Read the rest of this entry »

GOTO Update – GOTO Night Docker & Conference update

January 23rd, 2015 by

Docker – An Introduction & Its Uses

Monday 19th of January we held the first GOTO Night of 2015. This evening was about Docker and was hosted by ABN AMRO.

ABN AMRO welcomes everybody

Over 110 registered users, listened to Adrian Mouat explaining why Docker is such an exciting technology. After the break we had an interactive session between the panel, consisting of Jamie Dobson and Adrian Mouat, and the audience. This Question & Answer session was led by Mark Coleman. Read the rest of this entry »

How to manage your Docker runtime config with Vagrant

July 20th, 2014 by

Vagrant LogoIn this short blog I will show you how to manage a Docker container using Vagrant. Since version 1.6 Vagrant supports Docker as a provider, next to existing providers for VirtualBox and AWS. With the new Docker support Vagrant boxes can be started way faster. In turn Vagrant makes Docker easier to use since its runtime configuration can be stored in the Vagrantfile. You won’t have to add runtime parameters on the command line any time you want to start a container. Read on if you like to see how I create a Vagrantfile for an existing Docker image from Quinten’s Docker cookbooks collection.

Read the rest of this entry »

Docker From A Distance – The Remote API

December 24th, 2013 by

Docker-logoMany people use docker from the command line to build images, run containers and manage Docker on their machine. However, you can also run the same Docker commands via its remote REST API. In this blog I will guide you through Docker’s remote API using curl while pointing out a few details and tools that you might not know about. We will remotely search and pull an elasticsearch image, run a container and clean up after ourselves.

Read the rest of this entry »

Using Docker to efficiently create multiple tomcat instances

August 15th, 2013 by

Docker-logoIn my previous blog article I gave a short introduction into Docker (“an open-source engine that automates the deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere”). In this article we’ll check out how to create an image for Tomcat 7 and the Java 7 JDK as dependency.

So, let’s go ahead and do some ‘coding’. First, you need to install docker. Instructions can be found here. I already mentioned you need a Linux system with a modern kernel, so if you happen to be a Mac or Windows user, there are instructions on linked pages on how to use Vagrant to easily setup a virtual machine (VM) to use. For now we’ll work locally, but once you start installing servers you might find the Chef project to install docker useful as well.

As a first step after installation, let’s pick the first example from the Docker getting started page and create an Ubuntu 12.04 container, with completely separated processes, its own file system and its own network interface (but with network connection via the host), and have it print “hello world”. Do this by running

docker run ubuntu /bin/echo hello world

Cool huh? You probably just ran something on a different OS than that of your own machine or (in case you’re on Windows/Mac) the VM in which Docker is running! In this command ubuntu defines the image (found automatically as it is one of the standard images supplied by Docker). The run command creates an instance of the image (a container), feeding it /bin/echo hello world as the command to execute.

Read the rest of this entry »

Next step in virtualization: Docker, lightweight containers

August 8th, 2013 by

Docker-logoLately, I have been experimenting with Docker, a new open source technology based on Linux containers (LXC). Docker is most easily compared to Virtual Machines (VMs). Both technologies allow you to create multiple distinct virtual environments which can be run on the same physical machine (host). Docker also shares characteristics with configuration management tools like Chef and Ansible: you can create build files (a Dockerfile) containing a few lines of script code with which an environment can be set-up easily. It’s also a deployment tool, as you can simply pull and start images (e.g. some-webapp-2.1) from a private or public repository on any machine you’d like, be it a colleagues laptop or a test or production server.

But you’re already using all those other tools, so why would you need Docker? In this blog entry, I’d like to give you an answer to that question and provide a short introduction to Docker. In my next blog entry (coming soon) I’ll dive into using Docker, specifically covering how to setup Tomcat servers.

Read the rest of this entry »