Getting Started with Docker

Verify that Docker is installed by running this command:

 $ ​​docker​​ ​​--version
 Docker version 1.10.0, build 590d5108

Now check that Docker can communicate with Docker Machine by running this command:

 $ ​​docker​​ ​​ps

This is an empty list, but you’d see a list of running Docker processes (known as containers) if there were any. A container represents some isolated process or processes that are running within the Docker context. They’re isolated from the rest of the processes on your machine and even from the other Docker containers. This has many of the same benefits as traditional visualization but with a very different underlying implementation.

In traditional ...

Get Deploying with JRuby 9k now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.