Added Network Automation container

This commit is contained in:
adosztal 2017-06-27 19:16:10 +02:00
parent 6f3527efa8
commit 477a22e016
2 changed files with 32 additions and 0 deletions

View 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" ]

View 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)
```