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
🚀 Turbocharge Your Infrastructure with Our Terraform Template Kits! 🚀
🌟 Slash deployment time and costs! Discover the ultimate solution for efficient, cost-effective cloud infrastructure. Perfect for DevOps enthusiasts looking for a reliable, scalable setup. Click here to revolutionize your workflow!
Learn More about Starter Terraform Kits for AKS,EKS and GKE
No comments are allowed for this post