The flannel container
  • Dockerfile 53.5%
  • Shell 46.5%
Find a file
yuqi-zhang b711d7eaa0 Update various configs
Dockerfile:
  - update labels
  - use fqn for FROM

config.json.template:
  - update oci version
  - update capabilities for new runc version

service/run.sh
  - update to use systemd-notify
2017-06-06 16:55:11 -04:00
.gitignore Initial setup of the repo 2017-02-22 17:00:14 +00:00
config.json.template Update various configs 2017-06-06 16:55:11 -04:00
Dockerfile Update various configs 2017-06-06 16:55:11 -04:00
flanneld-run.sh Update various configs 2017-06-06 16:55:11 -04:00
manifest.json Initial import (#1421858). 2017-02-23 16:11:17 -05:00
README.md Initial import (#1421858). 2017-02-23 16:11:17 -05:00
service.template Update various configs 2017-06-06 16:55:11 -04:00
sources Initial setup of the repo 2017-02-22 17:00:14 +00:00
tmpfiles.template Initial import (#1421858). 2017-02-23 16:11:17 -05:00

flannel-container

This container image is intended to be run as a system container with the atomic command line.

Building flannel container for fedora and atomic host:

# git clone https://github.com/projectatomic/atomic-system-containers
# cd atomic-system-containers/flannel
# docker build -t flannel .

Running as system container, with the atomic CLI:

Prerequisite:

  1. etcd must be running

  2. a network is configured in etcd

(example with etcd installed as a system container: runc exec etcd etcdctl set /atomic.io/network/config '{"Network":"172.17.0.0/16"}')

Pull from local docker into ostree:

#atomic pull --storage ostree docker:flannel

Install the container:

#atomic install --system flannel

Start as a systemd service:

#systemctl start flannel

Stopping the service

#systemctl stop flannel

Removing the container

#atomic uninstall flannel