A containerized version of the Python IDE Thonny http://thonny.cs.ut.ee/
1.2K
A containerized version of the Python IDE Thonny http://thonny.cs.ut.ee/
You can either build from source, or pull latest version from dockerhub.
docker pull starfox/thonny
git clone https://bitbucket.org/starfox899/thonny.git
cd thonny
docker build -t starfox/thonny .
Running thonny needs access to local XServer
xhost +
docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix starfox/thonny
xhost -
Beware: Running thonny this way will remove all things you have created in Thonny, once it is closed. If you want to persist your changes, make sure to use a persisted container.
Create a named docker container, which will keep the changes and files you create using thonny inside the container.
# in case you have an existing container named 'thonny', you need to cleanup first. Attention: this will delete everything stored in that container!
# docker rm thonny
docker create -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --name thonny starfox/thonny
xhost +
docker start thonny
xhost -
xhost + using this technique http://stackoverflow.com/a/25280523/2161065Content type
Image
Digest
Size
261.8 MB
Last updated
over 8 years ago
docker pull starfox/thonny