简体   繁体   中英

How to find docker containers can talk each other

I have created these 4 docker containers connected to webapp network

  1. App container
  2. Sales container
  3. Admin container
  4. Support container

Is there any way to identify these containers can talk each other ?

Try this command in your cli

docker container exec -it App ping Sales

Here you can check your App and Sales container can talk each other, Similar way you can check for other containers

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM