Skip to content

Dockerfiles and scripts to build Kathará images.

License

Notifications You must be signed in to change notification settings

uniba-ktr/Docker-Images

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Images

This repository contains Dockerfiles used to build Kathará images. A list of the Docker images we provide can be found at this page in the Docker Hub. Images are built both with docker build and with docker buildx for multi-architecture support. Currently our images are based on Debian 9 (tag debian9) and Debian 10 (tag debian10) and are compiled for amd64 and arm64. latest tag is a retag of debian10. If you need images based on other Linux distributions, feel free to create a PR with other Dockerfiles.

Currently available images are:

  • kathara/base: used to build all other images. It contains a variety of network tools and some complex services like bind, apache, etc.
  • kathara/quagga: extends the base image adding the Quagga routing daemon.
  • kathara/frr: extends the base image adding FRRouting.
  • kathara/sdn: extends the base image adding OpenVSwitch and Ryu SDN controller.
  • kathara/p4: extends the base image adding Behavioral Model (bmv2) to compile P4 code.

Building from source

To build an image from source, enter the directory according to the desired Debian version and run make <image_name> to build for the current architecture. To build an image with docker buildx for multi-architectures use the command make <image_name>-multi. Beware: building images with docker buildx automatically push the images on the Kathará Docker Hub. If you are not allowed to push, change the Makefile before running make.

Example: make quagga or make quagga-multi.

Extend Kathará Images

The easiest way to extend a Kathará image is to clone this repository, change the Dockerfile according to your needings and locally build the new image.

If you instead want to alter (locally) an existing Kathará image, refer to the following steps:

  1. docker pull kathara/<image_name>
  2. docker run -tid --name <container_name> kathara/<image_name>
  3. docker exec -ti <container_name> bash
  4. Do your thing, then exit.
  5. docker commit <container_name> kathara/<image_new_name>
  6. docker rm -f <container_name>

About

Dockerfiles and scripts to build Kathará images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 51.6%
  • Dockerfile 37.6%
  • Makefile 10.8%