diff --git a/Dockerfile b/Dockerfile index 7b10a8c..819e624 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER "Jason Brooks" ENV container=docker -ENV NAME=kubernetes-apiserver VERSION=0 RELEASE=2 ARCH=x86_64 +ENV NAME=kubernetes-apiserver VERSION=0 RELEASE=3 ARCH=x86_64 LABEL BZComponent="$NAME" \ name="$FGC/$NAME" \ version="$VERSION" \ @@ -13,7 +13,7 @@ LABEL BZComponent="$NAME" \ COPY launch.sh /usr/bin/kube-apiserver-docker.sh -RUN chmod +x /usr/bin/kube-apiserver +RUN chmod +x /usr/bin/kube-apiserver* LABEL RUN /usr/bin/docker/ run -d --net=host -p 443:443 diff --git a/config.json.template b/config.json.template index 8a58c2a..ec6bae5 100644 --- a/config.json.template +++ b/config.json.template @@ -7,8 +7,8 @@ "process": { "terminal": false, "user": { - "uid": 994, - "gid": 996 + "uid": 996, + "gid": 994 }, "args": [ "/usr/bin/kube-apiserver-docker.sh" @@ -155,6 +155,15 @@ "rbind", "rprivate" ] + }, + { + "destination": "/var/run/kubernetes", + "type": "bind", + "source": "/var/run/kubernetes", + "options": [ + "rw", + "rbind" + ] } ], "linux": {