Docker container to run PyCharm Community Edition
Clone or download
Latest commit 5ab942a Sep 6, 2018
Failed to load latest commit information.
Dockerfile 2018.2.3 Sep 6, 2018
LICENSE Create LICENSE Jun 28, 2017 Add pip and fix instructions in README May 15, 2017

Docker container to run PyCharm Community Edition (


docker run --rm \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -v ~/.PyCharm:/home/developer/.PyCharm \
  -v ~/ \
  -v ~/.PyCharm.py2:/usr/local/lib/python2.7 \
  -v ~/.PyCharm.py3:/usr/local/lib/python3.4 \
  -v ~/Project:/home/developer/Project \
  --name pycharm-$(head -c 4 /dev/urandom | xxd -p)-$(date +'%Y%m%d-%H%M%S') \

Docker Hub Page:


The IDE will have access to Python 2 and 3 both and to Git as well. Project folders need to be mounted like -v ~/Project:/home/developer/Project. The actual name can be anything - I used something random to be able to start multiple instances if needed.

To use pip (or pip3) either use the terminal in PyCharm or install from the terminal from inside the container like docker exec -it pycharm-running bash then install using pip.