summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTyler Baker <tyler.baker@linaro.org>2017-03-31 17:45:59 -0700
committerTyler Baker <tyler.baker@linaro.org>2017-03-31 17:45:59 -0700
commit1d0fbb9fa61236a39c652252741fb786e820a552 (patch)
tree50583da081e977fa3cccb5322b59c73e044a7cdc /README.md
parentcb1b234b55714221d380d331145a1e81f9902616 (diff)
Add README
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0174706
--- /dev/null
+++ b/README.md
@@ -0,0 +1,17 @@
+# Linaro's Automated Validation Architecture (LAVA) Docker Container
+Preinstalls and preconfigures the latest LAVA server release.
+
+## Building
+To build an image locally, execute the following from the directory you cloned the repo:
+
+```
+sudo docker build -t lava .
+```
+
+## Running
+To run the image from a host terminal / command line execute the following:
+
+```
+sudo docker run -it -v /dev:/dev -p 80:80 -p 5555:5555 -p 5556:5556 -h <HOSTNAME> --privileged lava
+```
+Where HOSTNAME is the hostname used during the container build process (check the docker build log), as that is the name used for the worker configuration. You can use `lava-docker` as the pre-built container hostname.