I can happily report that discourse_docker
works just fine on a CoreOS image. There was exactly one thing I had to modify:
localhost discourse # git --no-pager diff
diff --git a/launcher b/launcher
index bc7f204..07dca0d 100755
--- a/launcher
+++ b/launcher
@@ -16,7 +16,7 @@ local_discourse=local_discourse
image=samsaffron/discourse:1.0.3
docker_path=`which docker.io || which docker`
-docker_ip=`/sbin/ifconfig | \
+docker_ip=`ifconfig | \
grep -B1 "inet addr" | \
awk '{ if ( $1 == "inet" ) { print $2 } else if ( $2 == "Link" ) { printf "%s:" ,$1 } }' | \
grep docker0 | \
I had to use current CoreOS alpha release (431.0.0), because this is the first one with Docker 1.2.0. This release uses btrfs
instead of aufs
, but it doesn’t cause any kind of issues.
I’d like to follow CoreOS’ way of managing containers, maybe the correct way should be to maintain a private docker registry, and to pull it from there instead.
Thoughts?