Skip to content

mmorrow24work/docker_custom_image_kathara_abbix7.4_frr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

dockerfile used to create the custom docker image used with kathara - zabbix7.4-frr

Mick Morrow | Solutions Architect Email: Mick.Morrow@telent.com Mobile: 07974398922 Web: www.telent.com

I created this dockerfile for the customer docker image I use for my digital twin kathara lab.conf - see extract below :

(kathara-venv) mickm@mickm-Latitude-7410:~/Kathara-Labs/mickm-labs/1$ head -12 lab.conf 
# Kathara Ring Topology with 5 Routers and 5 PCs
LAB_NAME="FiveRouterRing"
LAB_DESCRIPTION="5 routers in a ring (FRRouting), each to an Alpine Linux PC"
LAB_VERSION=1.4

# Router images

r1[image]="zabbix7.4_frr:1.0"
r2[image]="zabbix7.4_frr:1.0"
r3[image]="zabbix7.4_frr:1.0"
r4[image]="zabbix7.4_frr:1.0"
r5[image]="zabbix7.4_frr:1.0"
(kathara-venv) mickm@mickm-Latitude-7410:~/Kathara-Labs/mickm-labs/1$

Docker Images

(kathara-venv) mickm@mickm-Latitude-7410:~/docker/custom_images/zabbix7.4_frr:1.0$ docker build -t zabbix7.4_frr:1.0 .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  3.584kB
Step 1/8 : FROM kathara/frr:latest
 ---> 0fbf3877a39c
Step 2/8 : LABEL maintainer="mick.morrow@telent.com"
 ---> Using cache
 ---> 7a128aff7ebe
Step 3/8 : ENV DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 7a43d13c2b1e
Step 4/8 : RUN apt-get update && apt-get install -y     zabbix-agent     snmpd     snmp     softflowd     iproute2     iputils-ping     bash     iperf3  && apt-get clean && rm -rf /var/lib/apt/lists/*
 ---> Running in 3eafc4dc0eae
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8793 kB]
Get:5 https://deb.frrouting.org/frr bookworm InRelease [54.4 kB]
Get:6 https://deb.frrouting.org/frr bookworm/frr-9 amd64 Packages [5156 B]
Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:8 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
Fetched 9388 kB in 3s (3038 kB/s)
Reading package lists...
W: https://deb.frrouting.org/frr/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists...
Building dependency tree...
Reading state information...
iproute2 is already the newest version (6.1.0-3).
iproute2 set to manually installed.
iputils-ping is already the newest version (3:20221126-1+deb12u1).
iperf3 is already the newest version (3.12-1+deb12u1).
The following additional packages will be installed:
  libmodbus5 libpci3 libsensors-config libsensors5 libsnmp-base libsnmp40
  libusb-1.0-0 pci.ids pciutils usbutils
Suggested packages:
  bash-doc lm-sensors snmp-mibs-downloader snmptrapd
Recommended packages:
  bash-completion
The following NEW packages will be installed:
  libmodbus5 libpci3 libsensors-config libsensors5 libsnmp-base libsnmp40
  libusb-1.0-0 pci.ids pciutils snmp snmpd softflowd usbutils zabbix-agent
.
.
.
Step 8/8 : CMD snmpd -f -Lo -c /etc/snmp/snmpd.conf &     softflowd -i eth0 -n 192.168.10.6:2055 -v 5 -b -T &     zabbix_agentd -f
 ---> Running in f80359e80098
 ---> Removed intermediate container f80359e80098
 ---> 98a38a8e5c40
Successfully built 98a38a8e5c40
Successfully tagged zabbix7.4_frr:1.0
(kathara-venv) mickm@mickm-Latitude-7410:~/docker/custom_images/zabbix7.4_frr:1.0$ docker images
REPOSITORY                   TAG       IMAGE ID       CREATED          SIZE
zabbix7.4_frr                1.0       98a38a8e5c40   22 minutes ago   1.09GB
<none>                       <none>    75789162b0d1   37 minutes ago   1.06GB
kathara_zabbix7.4-ubuntu24   1.0       c0e192409cc4   20 hours ago     803MB
alpine_pc                    1.0       558f54e8cfe4   20 hours ago     24MB
ubuntu                       24.04     e0f16e6366fe   3 weeks ago      78.1MB
alpine                       latest    9234e8fb04c4   5 weeks ago      8.31MB
kathara/frr                  latest    0fbf3877a39c   5 months ago     1.06GB
kathara/base                 latest    54609bfdb680   7 months ago     1.02GB
kathara/quagga               latest    62dd101dfa28   23 months ago    1.09GB
(kathara-venv) mickm@mickm-Latitude-7410:~/docker/custom_images/zabbix7.4_frr:1.0$

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published