-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.docker_aliases
32 lines (23 loc) · 1.51 KB
/
.docker_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
### Docker Aliases
# bat supports syntax highlighting for a large number of programming and markup languages
# see: https://github.com/sharkdp/bat
alias bat='docker run -it --rm -e BAT_THEME -e BAT_STYLE -e BAT_TABS -v "$(pwd):/myapp" danlynn/bat'
# A collection of simplified and community-driven man pages.
# see: https://github.com/sharkdp/tldr
alias tldr='docker run --rm -it -v ~/.tldr/:/root/.tldr/ nutellinoit/tldr'
# Simplified docker based markdown linter
# see: https://github.com/mmphego/my-dockerfiles/markdownlint
alias markdownlint='docker run --rm -it -v "$(pwd):/app" mmphego/markdownlint'
# Simplified docker based latexmk
# see: https://github.com/mmphego/my-dockerfiles/latex-full
alias mklatex='docker run --rm -i -v "$PWD":/data --user="$(id -u):$(id -g)" mmphego/latex:ubuntu'
# Export your Medium posts to Markdown
# see: https://github.com/mmphego/my-dockerfiles/medium2md
alias mediumexporter='docker run --rm -it -v "$(pwd):/app" mmphego/mediumexporter $1 > medium_post.md'
# Haskell Dockerfile Linter
# see: https://github.com/hadolint/hadolint
alias dockerfile-linter='docker run --rm -i hadolint/hadolint < '
# CHANGELOG generator implemented in Go (Golang) running in a Docker image/container.
alias git-changelog='docker run -it --rm -v "$(pwd)":/usr/local/src/your-app mmphego/git-changelog-generator'
# https://github.com/jesseduffield/lazydocker
alias lazydocker='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v ~/.lazydocker:/.config/jesseduffield/lazydocker lazyteam/lazydocker'