Sign inSign up

stroebs/swarm-meta

By stroebs

Updated almost 8 years ago

A basic Docker Swarm metadata service.

Image
0

312

stroebs/swarm-meta repository overview

swarm-meta

A basic Docker Swarm metadata service for a non-AWS environment.

The goal of this service is to provide similar functionality that the docker4x/meta-aws official container provides.

Usage:

NOTE: Should only ever be run on manager nodes.

docker run -d -p $NODE_IP:9024:8080 \
  --log-driver=json-file \
  --log-opt max-size=50m \
  --name=swarm-meta \
  --restart=always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  stroebs/swarm-meta:18.06.1-ce

Variables

  • NODE_IP: Needs to be set manually by calling script. The CaaS I am using does not have a metadata service.

The difference between the official docker4x container and this one is that of security. The official container will check that the calling instance belongs to the security group (meaning it's in the same swarm), whereas this one assumes security is handled otherwise.

Tag summary

Content type

Image

Digest

Size

15.6 MB

Last updated

almost 8 years ago

docker pull stroebs/swarm-meta