There is no way to make it work. Your tensorflow installation is inside the docker container, while PyCharm, running on Windows, is looking for your available Python libraries on Windows; he does not have access to the docker.
Instead, you could try installing and running PyCharm in the docker (I'm not sure how viable it is).
source share