2.1.1 • Published 7 years ago

darklight v2.1.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
7 years ago

Discovery tool for data center distributed containers

How does it work

Darklight uses NATS library for sharing docker engine info.

Installing one darklight node per docker host, you either get all the info about all the containers and hosts on the network, or can control any specific docker instance through an RPC like mechanism.

You can embed a darklight node into your application and use it to get that info.

See local.js for full understanding.

Build & run

Build darklight image

docker build --force-rm -t ignitial/darklight .

Run docker unit

tools/scontainer.sh <name>

Run natsio

docker run -d -p 4222:4222 -p 6222:6222 -p 8222:8222 --name nats nats

Utils

Remove current containers (force)

docker rm -f $(docker ps -a -q)
docker rmi $(docker images -f "dangling=true" -q)

Run darklight docker container

docker run -v /var/run/docker.sock:/var/run/docker.sock -e DATASYNC_NATS_SERVERS="[ \"nats://nats:4222\" ]" -e DEBUG="darknode,vikings:*" -e CONTAINER_HOST=192.168.1.105 --link nats:nats --name dl1 ignitial/darklight

Stop container

docker exec dl1 pkill -TERM node
2.1.1

7 years ago

2.1.0

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago