How can i set up my machine to use my image

I am a newbie in Docker, and confused to use an existing local image in a docker machine.

What do i want to do ?
I am python develeoper and work in PyCharm. I want to set pycharm python iterpreter to container’s interpreter that i created for my product environment. Pycharm expect an interpreter that works in a docker machine. it was simple to create a docker machine with docker-machine command tool. How can i make this machine to use the images that i created. I hope i clearly express my problem.