Debian build docker image with dnsutils, iputils-ping and iproute2
Hi :)
as part of my vocational training, I needed a container which supports ping, ip a, nslookup. At first I didn't want to build a container, then I thought I'd give it a try. And that's how this little container came into existence.
Included are:
debian:latest dnsutils iputils-ping iproute2 ntp with the latest updates.
normally a Docker Container is shutting down, in follow of this you need to add the tty flag
docker run -ti matthi17/debian-networkutilities:latest
version: "3"
services:
utilities:
image: matthi17/debian-networkutilities:latest
stdin_open: true
tty: true
will follow shortly
- downloaded the Dockerfile in a new directory
wget https://raw.githubusercontent.com/Matthi-17/debian-networkutilities/main/Dockerfile/Dockerfile
- build your image
docker build . -t matthi17/debian-networkutilities #use your image name
Upload to Docker Hub
docker push matthi17/debian-networkutilities:latest #use your repo name