Last active
August 29, 2015 13:56
-
-
Save pjvds/9055636 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Running terminator | |
docker pull quay.io/happypancake/terminator | |
docker stop terminator || echo "nothing to stop" | |
docker rm terminator || echo "nothing to remove" | |
docker run -lxc-conf="lxc.cgroup.cpuset.cpus=0-1" -e "GOMAXPROCS=2" -t -p="0.0.0.0:80:80" -name=terminator quay.io/happypancake/terminator | |
# Running web-aggregator | |
docker pull quay.io/happypancake/web | |
docker stop web || echo "nothing to stop" | |
docker rm web || echo "nothing to remove" | |
docker run -lxc-conf="lxc.cgroup.cpuset.cpus=0-1" -e "GOMAXPROCS=2" -t -name=web -link="terminator:terminator" quay.io/happypancake/web | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment