New ubuntu appliance

This commit is contained in:
Julien Duponchelle 2017-03-14 11:13:48 +01:00
parent fddde6574a
commit d31fb67f2a
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
3 changed files with 38 additions and 1 deletions

View File

@ -12,7 +12,7 @@
"symbol": "linux_guest.svg",
"docker": {
"adapters": 1,
"image": "ubuntu-debootstrap",
"image": "gns3/ubuntu:xenial",
"console_type": "telnet"
}
}

11
docker/ubuntu/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
# docker base image for basic networking tools
FROM ubuntu:xenial
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends install \
net-tools tcpdump telnet traceroute curl iperf3 knot-host openssh-client mtr-tiny socat nano vim-tiny \
&& rm -rf /var/lib/apt/lists/*
VOLUME [ "/root" ]
CMD [ "sh", "-c", "cd; exec bash -i" ]

26
docker/ubuntu/README.md Normal file
View File

@ -0,0 +1,26 @@
# Ubuntu - Networking Toolbox
This appliance contains the following networking tools:
- net-tools (basic network administration tools)
- iproute2 (advanced network administration tools)
- ping and traceroute
- curl (data transfer utility)
- host (DNS lookup utility)
- iperf3
- mtr (full screen traceroute)
- socat (utility for reading/writing from/to network connections)
- ssh client
- tcpdump
- telnet
The /root folder is mount by default
## Build and publish the Images
First the base image has to be created:
```
docker build -t gns3/ubuntu:xenial .
docker push gns3/ubuntu:xenial (optional)
```