Sign inSign up

jrecord/nettools

By jrecord

•Updated almost 6 years ago

Some common network tools in a centos container

Image
3

1M+

jrecord/nettools repository overview

Docker build Docker status Docker pulls

⁠nettools

Container image with network tools for troubleshooting Kubernetes clusters

To check some networking issues in a cluster:

kubectl run -it --image=jrecord/nettools nettools --restart=Never --namespace=default

Or you can keep the following yaml file handy and run it in a pod

kubectl apply -f nettools.yaml

and login to the container

kubectl exec -it nettools bash --namespace=default

Pod template example:

apiVersion: v1
kind: Pod
metadata:
  name: nettools
  namespace: default
spec:
  containers:
  - name: nettools
    image: jrecord/nettools:latest
    command:
      - sleep
      - "3600"
    imagePullPolicy: IfNotPresent
  restartPolicy: Never

If you just want to use the network tools on a docker host:

docker run -it jrecord/nettools

Tag summary

Content type

Image

Digest

Size

212.2 MB

Last updated

almost 6 years ago

docker pull jrecord/nettools