Skip to content

Instantly share code, notes, and snippets.

@indigo423
Last active October 27, 2016 14:15
Show Gist options
  • Save indigo423/a44655b352e6ae669002526011b3e826 to your computer and use it in GitHub Desktop.
Save indigo423/a44655b352e6ae669002526011b3e826 to your computer and use it in GitHub Desktop.
docker-deploy.yml
version: '2'
networks:
local:
driver: bridge
ipam:
config:
- subnet: 172.30.0.0/16
services:
lldp01-local:
image: indigo/docker-lldp
privileged: true
networks:
local:
ipv4_address: 172.30.0.35
lldp02-local:
image: indigo/docker-lldp
privileged: true
networks:
local:
ipv4_address: 172.30.0.36
@indigo423
Copy link
Author

start with:

docker-compose up -d
docker-compose exec lldp01-local lldpcli

LLDP commands:

show neighbors
update
show statistics

@indigo423
Copy link
Author

sorry, please rename from docker-deploy.yml to docker-compose.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment