xuchenhao opened a new issue, #3196:
URL: https://github.com/apache/doris-website/issues/3196

   ### Path
   /community/developer-guide/regression-testing
   
   ### Description
   I followed the steps in chapter **E2E Test with External Data Sources** to 
set up external data sources using Docker Compose, but the final Docker 
environment failed to start.
   
   ### Root Cause
   The failure occurs in script `run-thirdparties-docker.sh` due to 
incompatible network interface detection. The script uses the following command 
to obtain the network interface name:
   `eth_name=$(ifconfig -a | grep -E "^eth[0-9]" | sort -k1.4n | awk -F ':' 
'{print $1}' | head -n 1)`
   This command assumes network interfaces follow the traditional naming 
pattern (e.g., `eth0`, `eth1`). However, on modern Linux systems using 
systemd/udev, interfaces typically have predictable network interface names 
such as `enp3s0`, `ens33`, `eno1`, which the script does not recognize.
   
   ### Suggested solution
   Add the following note to the **Preparation** section:
   Before starting the containers, verify whether the primary network interface 
name follows the`eth[0-9]` pattern. If not, manually specify `eth_name` in 
script `run-thirdparties-docker.sh`.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to