Python 3 custom Docker images
1.9K
Linux distributions base Docker images with just Python 3 installed:
| Distribution | Tag |
|---|---|
| Ubuntu 16.04 LTS | xenial |
| Ubuntu 18.04 LTS | bionic |
| Alpine Linux v3.8 | alpine |
Use the tag to pull the specific Docker image: docker pull codeyourinfra/python3:tag.
The default command tail -f /dev/null executed on container initialization keeps it up when in detached mode.
The bionic image, for example, can so be instantiated by simply executing: docker run --name bionic -d codeyourinfra/python3:bionic.
A good usage for the Python 3 custom Docker images is for testing Ansible roles. The build process of each Codeyourinfra's Ansible role, for example, uses the images for testing.
Content type
Image
Digest
Size
53.1 MB
Last updated
over 7 years ago
docker pull codeyourinfra/python3:xenial