Simple scripts to create a Docker image for Ubuntu LTS versions which contain all the manual pages available (with default apt sources).
The image is built for the currently supported LTS versions of Ubuntu. The images are uploaded to Docker Hub and tagged with the LTS codename. To check out a man page, use the following command:
docker run -it --rm -e TERM="$TERM" kbence/man:<lts_codename> [arg [arg ...]]
where lts_codename is jammy (22.04) or noble (24.04), and arguments are passed to man directly. The newest LTS is also tagged as latest.
To make it easier to use, there's a script called lman in the repository. This script will pass your TERM environment variable to optionally enable colorful output. It's usage is really simple:
./lman [--<lsb_codename>] [arg [arg ...]]