rancid, the really awesome new cisco config differ, in an alpine linux container
3.3K
Provide rancid, the Really Awesome New Cisco confIg Differ, with git support in a smallish container. RANCID monitors a device's configuration, including software and hardware, and uses CVS, Subversion, or Git to maintain history of changes.
Project: https://github.com/jumanjihouse/docker-rancid-git/ Docker image: https://registry.hub.docker.com/u/jumanjiman/rancid/ Upstream rancid: http://www.shrubbery.net/rancid/
docker pull jumanjiman/rancid
We provide multiple tags:
jumanjiman/rancid:latestjumanjiman/rancid:<version>_<builddate>_git_<hash>Example:
jumanjiman/rancid:3.6.1-r0_20170702T1659_git_6fead99
^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^
| | |
| | +--> hash from this git repo
| |
| +-----------------> build date and time
|
+---------------------------> version of rancid
Build this image locally on a host with Docker:
git clone https://github.com/jumanjihouse/docker-rancid-git.git
cd docker-rancid-git
ci/build
Run a container with bash from the built image:
docker run --rm -it jumanjiman/rancid
We use circleci to build, test, and publish the image to Docker hub. We use BATS to run the test harness.
Run the tests locally:
ci/test
BATS output resembles:
✓ image exists
✓ tagged image exists - optimistic
✓ tagged image exists - pessimistic
✓ rancid -h shows help
✓ rancid is the expected version
- ci-build-url label is present (skipped: This test runs only on circleci)
6 tests, 0 failures, 1 skipped
See LICENSE in this repo.
Content type
Image
Digest
Size
30.1 MB
Last updated
over 6 years ago
docker pull jumanjiman/rancid