aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorbjoern <bjoern.riemer@web.de>2016-01-28 00:48:42 +0100
committerbjoern <bjoern.riemer@web.de>2016-02-17 17:31:16 +0100
commit1070a11b1452aa6cf89b29eee43c1d7d661ddf6f (patch)
treed7a9a0c218d83db49ce8b6bcf49bd0d4cb378b67 /Dockerfile
parent8c3ab546a9769f35e624edb5067be02c7de8ccf6 (diff)
add documentation inside dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile15
1 files changed, 11 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index e8db06b..9bbb326 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,20 @@
## re-build:
-# docker tag bjoernr/voctocore:latest bjoernr/voctocore:old; docker build -t bjoernr/voctocore ./voctocore-docker && docker rmi bjoernr/voctocore:old
+# docker tag local/voctomix:latest local/voctomix:old; docker build -t local/voctomix . && docker rmi local/voctomix:old
## build:
-# docker build -t bjoernr/voctocore ./voctocore-docker
+# docker build -t bjoernr/voctomix .
## run:
-# docker run -it --rm bjoernr/voctocore
+# docker run -it --rm bjoernr/voctocore help
+## core:
# docker run -it --rm -v /some/dir:/video
# -p 9999:9999 -p 10000:10000 -p 10001:10001 -p 10002:10002 -p 11000:11000 -p 12000:12000 \
# -p 13000:13000 -p 13001:13001 -p 13002:13002 -p 14000:14000 -p 15000:15000 -p 16000:16000 \
-# -p 17000:17000 -p 17001:17001 -p 17002:17002 -p 18000:18000 --name=voctocore bjoernr/voctocore
+# -p 17000:17000 -p 17001:17001 -p 17002:17002 -p 18000:18000 --name=voctocore bjoernr/voctomix core
+## gui
+## gui will connect to "corehost": corehost is aliased to container "voctocore"
+# docker run -it --rm --env=gid=$(id -g) --env=uid=$(id -u) --env=DISPLAY=$DISPLAY --link=voctocore:corehost \
+# -v /tmp/.X11-unix:/tmp/.X11-unix -v /tmp/.docker.xauth:/tmp/. bjoernr/voctomix gui
+## scripts
+# docker run -it --rm bjoernr/voctomix --link=voctocore:corehost bjoernr/voctomix gstreamer/source-videotestsrc-as-background-loop.sh
FROM ubuntu:wily