The etcd container
  • Dockerfile 60.8%
  • Shell 39.2%
Find a file
2018-03-15 14:38:52 +00:00
.gitignore Initial setup of the repo 2017-02-22 17:00:13 +00:00
config.json.template Update f26 to upstream 2017-09-06 15:13:58 -04:00
Dockerfile "Bump RELEASE for automatic rebuild" 2018-03-15 14:38:52 +00:00
etcd-env.sh Update f26 to upstream 2017-09-06 15:13:58 -04:00
install.sh Initial import (#1421856). 2017-02-22 15:30:28 -05:00
LICENSE Initial import (#1421856). 2017-02-22 15:30:28 -05:00
manifest.json Update f26 to upstream 2017-09-06 15:13:58 -04:00
README.md Initial import (#1421856). 2017-02-22 15:30:28 -05:00
service.template Initial import (#1421856). 2017-02-22 15:30:28 -05:00
tmpfiles.template Initial import (#1421856). 2017-02-22 15:30:28 -05:00
uninstall.sh Initial import (#1421856). 2017-02-22 15:30:28 -05:00

etcd-container

Building etcd container for fedora and atomic host:

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

As a docker container:

Instructions for Fedora

Running etcd container

#docker run -d -p 4001:4001 -p 7001:7001 -p 2379:2379 -p 2380:2380 etcd

Instructions for Atomic

Installing etcd container on atomic host:

#atomic install etcd

Running etcd container on atomic host:

#atomic run etcd

Stopping etcd container on atomic host:

#atomic stop etcd

Uninstalling etcd container on atomic host:

#atomic uninstall etcd

As a system container, with the atomic CLI:

Pull from local docker into ostree:

#atomic pull --storage ostree docker:etcd

Install the container:

#atomic install --system etcd

Start as a systemd service:

#systemctl start etcd

Stopping the service

#systemctl stop etcd

Removing the container

#atomic uninstall etcd