How to use Wireshark to catch packets of the switch in mininet ?

Hi, friends,

I want to use Wireshark for network experiments.

I used docker to create a mininet environment and created several virtual switches through mininet, but I don’t know how to use Wireshark to grab the data packets of these virtual switches.

If you can give suggestions, I will be very grateful!