Alex's Coding Blog
  • home
  • about
  • projects
  • contact

Blog

How to ping from .net application container

  • December 10, 2022 March 11, 2025
  • by Alexander

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

.NET Core How-to

🚀 Turbocharge Your Kubernetes Cluster with my Terraform Kits! 🚀

🌟 Slash deployment time and costs! Discover the ultimate solution for efficient, cost-effective Kubernetes Terraform Kits. Perfect for DevOps enthusiasts looking for a reliable, scalable setup.

Learn More about Terraform Kits for AKS,EKS and GKE

Alexander Lvovich

Solution Architect & Software Developer | Automating & Scaling Infrastructure

💡 Working with Kubernetes, Istio, and DevOps. Got questions? Feel free to reach out!

Share on:

No comments are allowed for this post

Recent Posts

  • Securing Web Services Against Unwanted Traffic with NGINX
  • Optimizing API by Offloading Responsibilities to an API Gateway
  • How to Clean Up Local Branches of Remote Merged Branches
  • Resolving Namespace Overriding in Argo CD with Kustomize
  • Connecting to Gitlab's private Nuget registry
  • Why Istio?

Categories

  • Azure
  • Architecture
  • .NET Core
  • Certification
  • DevOps
  • How-to
  • Azure Functions
  • Serverless
  • Cosmos DB
  • Security
  • Thoughts
  • Kubernetes
  • Istio
© Copyright 2025, Alexander Lvovich. Theme by Colorlib
I use cookies and similar technologies on our website to enhance your browsing experience and analyze website traffic. By clicking "Accept," you consent with my Privacy Policy to the use of these technologies.
Accept