We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey,
I thought it might be a good idea to run weave on top of early-docker, just as flannel does: https://coreos.com/flannel/docs/latest/flannel-config.html
Here's its service file from coreos:
[Unit] Description=Network fabric for containers Documentation=https://github.com/coreos/flannel Requires=early-docker.service After=etcd.service etcd2.service early-docker.service Before=early-docker.target [Service] Type=notify Restart=always RestartSec=5 Environment="TMPDIR=/var/tmp/" Environment="DOCKER_HOST=unix:///var/run/early-docker.sock" Environment="FLANNEL_VER=0.5.3" Environment="ETCD_SSL_DIR=/etc/ssl/etcd" Environment="FLANNEL_ENV_FILE=/run/flannel/options.env" LimitNOFILE=40000 LimitNPROC=1048576 ExecStartPre=/sbin/modprobe ip_tables ExecStartPre=/usr/bin/mkdir -p /run/flannel ExecStartPre=/usr/bin/mkdir -p ${ETCD_SSL_DIR} ExecStartPre=-/usr/bin/touch ${FLANNEL_ENV_FILE} ExecStart=/usr/libexec/sdnotify-proxy /run/flannel/sd.sock \ /usr/bin/docker run --net=host --privileged=true --rm \ --volume=/run/flannel:/run/flannel \ --env=NOTIFY_SOCKET=/run/flannel/sd.sock \ --env=AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \ --env=AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \ --env-file=${FLANNEL_ENV_FILE} \ --volume=/usr/share/ca-certificates:/etc/ssl/certs:ro \ --volume=${ETCD_SSL_DIR}:/etc/ssl/etcd:ro \ quay.io/coreos/flannel:${FLANNEL_VER} /opt/bin/flanneld --ip-masq=true # Update docker options ExecStartPost=/usr/bin/docker run --net=host --rm -v /run:/run \ quay.io/coreos/flannel:${FLANNEL_VER} \ /opt/bin/mk-docker-opts.sh -d /run/flannel_docker_opts.env -i
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey,
I thought it might be a good idea to run weave on top of early-docker, just as flannel does:
https://coreos.com/flannel/docs/latest/flannel-config.html
Here's its service file from coreos:
The text was updated successfully, but these errors were encountered: