Read the Docs - Docker Images > https://github.com/readthedocs/readthedocs-docker-images
在容器内部
ls /home/docs -a
. .. .bash_logout .bashrc .conda .profile .pyenv .wget-hsts2026年:build:latest == Ubuntu 18.04.3 LTS
docker pull readthedocs/build:latest
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu18.04.3 LTS
Release: 18.04
Codename: bionic
docker hub:readthedocs/build
> https://hub.docker.com/r/readthedocs/build/
docker pull readthedocs/build:ubuntu-24.04-2024.06.17docker pull readthedocs/build:ubuntu-26.04-2026.03.19sage
To use the pre-built images, you can pull from Docker Hub:
docker pull readthedocs/build:latestYou can also compile these images locally:
docker build -t readthedocs/build:testing .SeeCONTRIBUTING_ for more information on building and testing.
.. _CONTRIBUTING: CONTRIBUTING.rst
Read the Docs - Docker Images
readthedocs/build
> https://hub.docker.com/r/readthedocs/build/
------------
Tag summary
Recent tags
Content type
Image
Digest
sha256:aa8bb7999…
Size
3.4 GB
Last updated
almost 2 years ago
docker pull readthedocs/build:ubuntu-24.04-2024.06.17============================= Read the Docs - Docker Images
These are the Docker image definitions used by the Read the Docs build environments to encapsulate the build process.
You can find these images on Docker Hub, on thereadthedocs/build_ repository:
readthedocs/build:1.0DeprecatedUbuntu 14.04 based image.
readthedocs/build:1.0-dotnetDeprecatedUbuntu 14.04 based image, plus .NET.
readthedocs/build:2.0DeprecatedUbuntu 16.04 based image.
readthedocs/build:4.0DeprecatedUbuntu 18.04 supporting Python 2.7, 3.5, 3.6, 3.7.
readthedocs/build:5.0stableUbuntu 18.04 supporting Python 2.7, 3.6, 3.7 and pypy3.5-7.0.0. This is thestableimage supported by Read the Docs.
readthedocs/build:6.0latestUbuntu 18.04 supporting Python 2.7, 3.5, 3.6, 3.7, 3.8 and PyPy3.5-7.0.0. This is thelatestdefault image used for documentation builds and supported by Read the Docs.
readthedocs/build:7.0testingUbuntu 18.04 supporting Python 2.7, 3.5, 3.6, 3.7, 3.8 and PyPy3.5-7.0.0. For internal developmenttestingonly, not available for public usage yet.
.. _readthedocs/build: https://hub.docker.com/r/readthedocs/build/
Usage
To use the pre-built images, you can pull from Docker Hub:
docker pull readthedocs/build:latestYou can also compile these images locally:
docker build -t readthedocs/build:testing .SeeCONTRIBUTING_ for more information on building and testing.
.. _CONTRIBUTING: CONTRIBUTING.rst