mirror of
https://github.com/GNS3/gns3-registry.git
synced 2025-01-29 15:43:55 +00:00
Added Network Automation container
This commit is contained in:
parent
6f3527efa8
commit
477a22e016
13
docker/network_automation/Dockerfile
Normal file
13
docker/network_automation/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
# docker base image for Netmiko, NAPALM, Pyntc, and Ansible
|
||||
|
||||
FROM ubuntu:xenial
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends install \
|
||||
telnet curl openssh-client nano vim-tiny iputils-ping python build-essential libssl-dev libffi-de \
|
||||
python-pip ansible \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& pip install cryptography netmiko napalm pyntc
|
||||
|
||||
VOLUME [ "/root" ]
|
||||
CMD [ "sh", "-c", "cd; exec bash -i" ]
|
||||
|
19
docker/network_automation/README.md
Normal file
19
docker/network_automation/README.md
Normal file
@ -0,0 +1,19 @@
|
||||
# Ubuntu - Network Automation Toolbox
|
||||
|
||||
This appliance contains the following network automation tools:
|
||||
|
||||
- Netmiko
|
||||
- NAPALM
|
||||
- Pyntc
|
||||
- Ansible
|
||||
|
||||
The /root folder is mount by default
|
||||
|
||||
## Build and publish the Images
|
||||
|
||||
First the base image has to be created:
|
||||
|
||||
```
|
||||
docker build -t gns3/network_autmation:latest .
|
||||
docker push gns3/network_autmation:latest (optional)
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user