Topics:

Docker guide

Docker images on dockerhub

All our services are available as Docker images in Dockerhub:

https://hub.docker.com/r/opentransport/

OpenTransport build pipeline

build pipeline

Build process is performed by travis:

https://travis-ci.org/

E.g. to check digitransit-ui pipeline and its status, check:

https://travis-ci.org/HSLdevcom/digitransit-ui

Should you have enough permissions, you can see all builds:

https://travis-ci.org/HSLdevcom

How to use Docker?

We use Docker, you should know how it works.

https://docs.docker.com/

There are some OS specific hints you should be aware of:

  1. Docker has native support only for Linux. This means that OS X and Windows need extra steps to get it working. For them we recommend:

    https://www.docker.com/products/docker-toolbox

  2. When starting container by mapping ports e.g. like this:
docker run -d -p 9200:9200 --name pelias-data-container opentransport/pelias-data-container

You should be aware that Linux and Virtual machine based environments (Windows, OS X) expose given services differently. On Linux: http://localhost:9200 , in other environments it doesn't work. You need to figure out docker-machine IP and use it by running:

docker-machine config default

This gives you something like:

--tlsverify
--tlscacert="xxx"
--tlscert="xxx"
--tlskey="xxx"
-H=tcp://192.168.99.100:2376

You should then access application by http://192.168.99.100:9200