Directly in pycharm: File-->settting, and then create a new docker,
There is no need to change any configuration inside, it will automatically find all your containers
Then run it directly in the lower left corner
Finally, select the docker container you want to use in the interpreter.