Sign inSign up

icmdb/etcd

By icmdb

•Updated over 6 years ago

Etcd image based on alpine linux and official binary release.

Image
0

920

icmdb/etcd repository overview

⁠etcd

Etcd image based on alpine linux and official binary release.

⁠Quick Start

# with docker run
docker run -d --name etcd icmdb/etcd 


# With docker-compose
mkdir etcd && cd etcd
cat > docker-compose.yml <<EOT
version: "3"
services:
  etcd:
    container_name: etcd
    hostname: etcd
    image: icmdb/etcd
    environment:
      - ETCD_NAME=etcd-0
      - ETCD_DATA=/data/
      - ETCD_CLIENT_URLS=http://0.0.0.0:2379
      - ETCD_PEER_URLS=http://0.0.0.0:2380
      - ETCD_INI_TOKEN=Token
      - ETCD_INI_STATE=new
      - ETCD_LOG_LEVEL=info
      - ETCD_LOGGER=zap
      - ETCD_OUTPUTS=stderr
    ports:
      - 2379:2379
      - 2380:2380
    volumes:
      - ./data/etcd-0:/data
EOT

docker-compose up -d

⁠Reference

Tag summary

Content type

Image

Digest

Size

18.6 MB

Last updated

over 6 years ago

docker pull icmdb/etcd