https://github.com/hellt/netconf-console2-container
netconf-console python tool packaged in an Alpine Docker container
https://github.com/hellt/netconf-console2-container
docker netconf netconf-console network-automation
Last synced: 2 months ago
JSON representation
netconf-console python tool packaged in an Alpine Docker container
- Host: GitHub
- URL: https://github.com/hellt/netconf-console2-container
- Owner: hellt
- License: mit
- Created: 2020-01-08T09:46:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-01T18:51:50.000Z (10 months ago)
- Last Synced: 2024-12-01T19:33:21.877Z (10 months ago)
- Topics: docker, netconf, netconf-console, network-automation
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# netconf-console2 container image
This is a multi-stage Dockerfile that packages the [`netconf-console2`](https://pypi.org/project/netconf-console2/) CLI tool in an Alpine-based container image running with python3.11.
> [!NOTE]
> This repo has been renamed from `netconf-console-docker` to `netconf-console2-container` with the switch to the new package name.
> The container image is named `ghcr.io/hellt/netconf-console2:3.0.1` according to the new package name. The old image is still available as `ghcr.io/hellt/netconf-console:latest`.Details and instructions are provided in this [blog post](https://netdevops.me/2020/netconf-console-in-a-docker-container/).
## Usage
```bash
docker run --rm -i -t ghcr.io/hellt/netconf-console2:3.0.1 \
--host=srl --port 830 -u admin -p 'NokiaSrl1!' \
--hello
```## Build
```bash
# considering 3.0.1 is the intended version
bash build.sh 3.0.1
```The build step aslo includes the push action, so on successful build the linux/arm64 and linux/amd64 images will be pushed to the ghcr.io repository.