From 9153608ca7f4055e9548b51ab8d1eab84a0041ba Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Thu, 5 Jan 2017 12:36:01 +0100
Subject: [PATCH] Explain how to fix issues with triggered builds and docker
 containers

---
 install/docker-ci/README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/install/docker-ci/README.md b/install/docker-ci/README.md
index c1e98e8..4490ae7 100644
--- a/install/docker-ci/README.md
+++ b/install/docker-ci/README.md
@@ -54,6 +54,16 @@ $ mkdir -p /etc/docker/certs.d/docker.idiap.ch
 $ scp ./docker.crt root@<machine>:/etc/docker/certs.d/docker.idiap.ch/
 $ scp ./gitlab.crt root@<machine>:/etc/docker/certs.d/docker.idiap.ch/
     ```
+    As of today, you'll also need to make sure the `root` account has access to
+    the private docker registry (if you're using one) and you need to trigger
+    builds through the gitlab API. So, login to it:
+    ```
+$ whoami
+root
+$ docker login your.registry.tld
+    ```
+    Keep the root account signed into the registry at all times to fix this
+    issue.
 
 
 ## Kernel Support
-- 
GitLab