Because the Base images pulled by Docker, such as Centos and Ubuntu, are the simplest versions and do not contain the Ping tool. When performing Docker network and Docker link operations on Docker, the Ping tool is often used to test the network between two containers. At this time, the Ping tool is needed. Below is the command to install the Ping tool in Ubuntu:
Additional knowledge: standard_init_linux.go:211: exec user process caused "no such file or direct" problem Summarizes some issues on the Internet In Windows environment, because the file type is DOS, just convert it to Unix and then compile it. Need to install dos2unix dos2unix file This problem does not exist on Mac, you need to disable cgo Add CGO_ENABLED=0 in dockerfile
In the end, there is really no way Changing the base image from alpine to from centos will solve the problem But this image file is relatively large The above article on installing the ping tool in the container built by Docker is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: HTML Tutorial: Unordered List
>>: Example of using MRG_MyISAM (MERGE) to implement query after partitioning in MySQL
As an open source software, Apache is one of the ...
Question. In the mobile shopping mall system, we ...
How to solve the Mysql transaction operation fail...
content Use scaffolding to quickly build a node p...
Table of contents 1. What are options? 2. What at...
The json data must be returned in html format That...
Introduction Do you really know the difference be...
This article shares the MySQL 5.7 installation an...
I am using centos 7 64bit system here. I have tri...
Installed Docker V1.13.1 on centos7.3 using yum B...
<meta name="viewport" content="...
Method 1: INSERT INTO t1(field1,field2) VALUE(v00...
Preface 1. Debounce: After a high-frequency event...
Using NULL in comparison operators mysql> sele...
This article records the installation tutorial of...