Originally from https://blog.docker.com/2016/01/docker-1-10-rc/ Signed-off-by: Ben Firshman <ben@firshman.co.uk>