Python 2.7 + pip + PyYAML in a lightweight docker image
265
This image contains Python 2.7, pip2 and PyYAML already installed, and the default working directory is /work. Mount that directory to your current working directory to run Python2 files easily:
$ docker run --rm -v $(pwd -P):/work marcizhu/python2 python script.py
You may want to create an alias for easily running legacy Python 2 scripts.
Content type
Image
Digest
Size
27.8 MB
Last updated
over 4 years ago
docker pull marcizhu/python2