Alex's Coding Blog
  • Home
  • About
  • Projects
  • Contact me

Blog

How to ping from .net application container

  • December 10, 2022 December 10, 2022
  • 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

Debugging microservices is always tricky and time consuming specially without proper code level logging in place.

Meet Konso. It's developed as a solution for this challenge and can help with saving development effort for your team up to 30%. 🎯🎉

The key functions are:

🔥 Centralized logging for your microservices
🔥 Tracing with metrics and value tracking events
🔥 Ad-Hoc events exploration
🔥 Saving your queries
🔥 Create alerts and get notified


You can start collecting you project's logs in 5 minutes. 🕐💪

To Learn more about logging tool, book a free demo.
To get started for free, Create your free account now

Alexander Lvovich

Solution Architect and Software Developer.

Share on:

No comments are allowed for this post

Recent Posts

  • Easily track and troubleshoot errors in your .NET 7 web app using Konso's logging feature
  • How to disable object model validation .NET 7
  • Keep Your Passwords Safe: 5 Tips for Protecting Yourself After the Latest LastPass Data Breach
  • Freelancing myths you should consider before dive in
  • How to set up a honey token for dotnet project with Konso

Categories

  • Azure
  • Architecture
  • .NET Core
  • Certification
  • DevOps
  • How-to
  • Azure Functions
  • Serverless
  • Cosmos DB
  • Security
  • Thoughts
© Copyright 2023, Alexander Lvovich. Theme by Colorlib