Skip to main content
Struggling to hire strong frontend developers? Analyze real GitHub code with AI — not take-home tests. Learn More

How to ping from .net application container

Just place it here so next time I will not need to search for.

Many time in order to debug network connectivity between pods we use standard network tools such as ping utility.

Docker images in order to reduce size usually shipped without them. In order to run ping command you will need to install the utility first.

If you are developing .net applications you are probably familiar with mcr.microsoft.com/dotnet/sdk:7.0 image, which or its variations are used for shipping .net dockerized applications.

For ubuntu based image run the following to install ping utility:

apt-get update -y
apt-get install -y iputils-ping

Full list of tags and OS versions cna be found here

Share this article

About the Author

Alexander Lvovich

Alexander Lvovich

Solution Architect | Cloud-Native Platforms, DevOps & Service Mesh

💡 Kubernetes architecture, Istio service mesh, CI/CD, and cloud-native DevOps — from strategy to hands-on implementation. Reach out if you need expert support.


No comments are allowed for this post