This article is a mirror article of machine translation, please click here to jump to the original article.

View: 3000|Reply: 0

[Tips] The Docker container is based on aspnet:6.0 to install the ping tool

[Copy link]
Posted on 8/19/2023 11:55:18 AM | | | |
First, look at aspnet:which Linux distribution is 6.0 built on,Go inside the container, in the /etc directory, many files containing various information about the distribution are placed, and the command is as follows:


You can see that the aspnet:6.0 image is built on a Linux distribution based on Debian11.



It can also be viewed through Docker Desktop Images, as shown below:



apt-get is the default package manager for Linux distributions such as Debian, Ubuntu, Linux Mint, elementary OS, etc., so the installation command is as follows:

As shown below:




ASP.NET Core Runtime Image:

The hyperlink login is visible.
The hyperlink login is visible.


Review:

Install the ping tool in a container built with Docker
https://www.itsvse.com/thread-8966-1-1.html






Previous:Azure DevOps (9) Configure different compilation patterns based on code branches
Next:ASP.NET Core(23) API interface NULL returns HTTP 204 status code
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com