The flannel container
  • Dockerfile 53.5%
  • Shell 46.5%
Find a file
Clement Verna 3cede38182 Drop Release label in favor of OSBS release_bump plugin.
OSBS can automatically bump the release number, for that
we just need to drop the label from the Dockerfile

See https://pagure.io/ContainerSIG/container-sig/issue/1

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-08-20 19:31:12 +02:00
.gitignore Initial setup of the repo 2017-02-22 17:00:14 +00:00
config.json.template Update master to upstream 2017-09-06 15:21:04 -04:00
Dockerfile Drop Release label in favor of OSBS release_bump plugin. 2018-08-20 19:31:12 +02:00
flanneld-run.sh Update master to upstream 2017-09-06 15:21:04 -04:00
manifest.json Initial import (#1421858). 2017-03-08 15:56:50 -05:00
README.md Initial import (#1421858). 2017-03-08 15:56:50 -05:00
service.template Update master to upstream 2017-09-06 15:21:04 -04:00
sources Initial setup of the repo 2017-02-22 17:00:14 +00:00
tmpfiles.template Initial import (#1421858). 2017-03-08 15:56:50 -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