From b5eec912409bd19f6600e5e630fbe41004d64899 Mon Sep 17 00:00:00 2001
From: Cattani Luca <luca.cattani@eurac.edu>
Date: Fri, 29 Sep 2017 11:54:43 +0200
Subject: [PATCH] Update README.md

---
 README.md | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/README.md b/README.md
index 72a5779..157f0b6 100644
--- a/README.md
+++ b/README.md
@@ -35,3 +35,22 @@ This is the directory structure
 * Kubernetes credentials
 * a working [kubectl] (https://kubernetes.io/docs/tasks/tools/install-kubectl/)
 * a working [helm client] (https://docs.helm.sh/using_helm/#quickstart-guide)
+
+# How to use it
+## Workflow
+First of all, check if a docker image already exist.
+If exist, pull it, otherwise you neeed to build one.
+### Use existing Docker image
+```console
+docker image ls -a gitlab.scientificnet.org:4567/commul/dspace/*
+docker pull gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag>
+```
+
+### Build images
+* build your docker image from `/clarin-dspace-docker` directory
+* push to `https://gitlab.scientificnet.org/commul/dspace/container_registry` 
+
+```console
+docker build -t gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag> -f Dockerfile.XX .
+docker push gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag>
+```
\ No newline at end of file
-- 
GitLab