summaryrefslogtreecommitdiffstats
path: root/docker/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
new file mode 100644
index 0000000..29f5e5a
--- /dev/null
+++ b/docker/README.md
@@ -0,0 +1,38 @@
+# Docker container for AGL Demo Control Panel
+
+## Building
+
+In this directory run:
+
+```bash
+$ docker build \
+ --pull -t agl-demo-control-panel .
+```
+Or, if you have an apt cacher like squid-deb-proxy:
+
+```bash
+$ docker build \
+ --build-arg httpproxy="http://<proxy IP>:<proxy port>/" \
+ --build-arg httpsproxy="https://<proxy IP>:<proxy port>/" \
+ --pull -t agl-demo-control-panel .
+```
+
+## Running the container
+
+```bash
+$ docker run -ti --rm --network host agl-demo-control-panel
+```
+
+If you plan to use this frequently do consider adding it as an alias into your ~/.bashrc!
+
+Edit ~/.bashrc and add this line:
+
+```bash
+alias docker_agl-demo-control-panel='docker run -ti --rm --network host agl-demo-control-panel'
+```
+
+Then source ~/.bashrc or log out and in and simply run:
+
+```bash
+$ docker_agl-demo-control-panel
+```