about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-08 09:11:31 +0200
committerEmile <hanemile@protonmail.com>2019-10-08 09:11:31 +0200
commit515179a2462ea66f18b9f41b3a2b9ab0b624ef23 (patch)
tree524dcd4a181dcea224d5f30b3db48c03256175f2
parent3a16b7c77c3f37cc6c68b435c6399c1440016fe2 (diff)
added setup instructions
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2ed3317..e5d7d28 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,20 @@
 
 Register a new companion
 
+## Setup
+
+First, build an image:
+
+```
+$ docker build . -t circus-register
+```
+
+Then run the container:
+
+```
+$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --net circus -p 8081:8081 circus-register:latest
+```
+
 ## Function
 
 This container should only show a small registration form for the user.  The user