How to download Docker documentation for offline reading at the Linux console?
- archive of plain text files
- archive containing PDF files
- archive of HTML/CSS/… files
Use case: I was logged on a Linux server with Docker and needed to look up how to pass multiple environment variables to
docker run. I tried
docker run --help | less and
man docker-run but they weren’t as detailed as the online documentation in terms of supported syntax and examples so I missed being able to browse the equivalent locally.