Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stornado/tldr
离线环境使用 Docker 运行 tldr
https://github.com/stornado/tldr
offline tldr
Last synced: 3 months ago
JSON representation
离线环境使用 Docker 运行 tldr
- Host: GitHub
- URL: https://github.com/stornado/tldr
- Owner: stornado
- License: mit
- Created: 2024-01-17T14:30:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-22T05:29:11.000Z (about 1 year ago)
- Last Synced: 2024-07-30T20:54:26.968Z (6 months ago)
- Topics: offline, tldr
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TLDR Docker
[![ghcr.io/stornado/tldr:main](https://github.com/stornado/tldr/actions/workflows/docker-github-publish.yml/badge.svg)](https://github.com/stornado/tldr/actions/workflows/docker-github-publish.yml)
[![zxytech/tldr:main](https://github.com/stornado/tldr/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/stornado/tldr/actions/workflows/docker-publish.yml)
[![Docker Stars](https://img.shields.io/docker/stars/zxytech/tldr.svg)](https://hub.docker.com/r/zxytech/tldr/)
[![Docker Pulls](https://img.shields.io/docker/pulls/zxytech/tldr.svg)](https://hub.docker.com/r/zxytech/tldr/)
![GitHub License](https://img.shields.io/github/license/stornado/tldr)
![GitHub top language](https://img.shields.io/github/languages/top/stornado/tldr)
![Docker Image Size with architecture (latest by date/latest semver)](https://img.shields.io/docker/image-size/zxytech/tldr)离线环境使用 Docker 运行 tldr
## Prepare
```bash
# 联网环境
docker pull zxytech/tldr:main
docker save --output tldr.tar zxytech/tldr:main# 离线环境
docker load --input tldr.tar
```## Usage
1. 方式1
```bash
docker run --name tldr --rm -ti zxytech/tldr:main ls
```2. 方式2
```bash
# add to ~/.bashrc
echo "alias 'tldr=docker run --rm --name tldr --rm -ti zxytech/tldr:main'" >> $HOME/.bashrc# use
tldr # e.g. tldr ls
```## License
MIT
## Raw repository
1. [tldr-pages/tldr: 📚 Collaborative cheatsheets for console commands](https://github.com/tldr-pages/tldr)
2. [tldr-pages/tlrc: A tldr client written in Rust](https://github.com/tldr-pages/tlrc)