-
Notifications
You must be signed in to change notification settings - Fork 157
Docker support
zdd edited this page Apr 11, 2017
·
1 revision
You can quickly get sse
command use docker:
docker build -t opensse .
docker run -it opensse /bin/bash
If you don't want to compile code, You can use docker images zddhub/opensse-demo to run demo (only support mac os):
Run on mac:
# Install socat and xquartz if you want to run GUI demo.
brew install socat
brew cask install xquartz
# Start XQuartz
open -a XQuartz
# Expose local xquartz socket via socat on a TCP port
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
# in another window under our opensse repo folder.
docker pull zddhub/opensse-demo
docker run -it -e DISPLAY=$(ipconfig getifaddr en0):0 zddhub/opensse-demo