What does it do?#

Provides aliases for common Linux command-line utilities — linters, network tools, JSON/text processing and file sync. Like the Images and AI Tools aliases, this file is not sourced automatically — you need to add it explicitly.

Enabling it#

Bash / zsh#

source ~/.docker-devtools/docker-devtools.sh
source ~/.docker-devtools/linux/docker-linux-devtools.sh

PowerShell#

. "$HOME/.docker-devtools/docker-devtools.ps1"
. "$HOME/.docker-devtools/linux/docker-linux-devtools.ps1"

Source the root script first — docker_alias / Invoke-DockerAlias must already be defined before this file loads.

Commands#

Commands you can run to use this.

Aliases#

AliasToolImage
yamllint-dockeryamllint — YAML lintercytopia/yamllint:latest
shellcheck-dockerShellCheck — shell script linter (official image)koalaman/shellcheck:stable
shfmt-dockershfmt (bashfmt) — shell script formatter (official image)mvdan/shfmt:latest
nmap-dockerNmap — network discovery and security auditinginstrumentisto/nmap:latest
jq-dockerjq — command-line JSON processor (official image)ghcr.io/jqlang/jq:latest
rg-dockerripgrep — fast recursive grep alternativealpine:latest (installs ripgrep at runtime)
tmux-dockertmux — terminal multiplexeralpine:latest (installs tmux at runtime)
fd-dockerfd — fast, user-friendly alternative to findalpine:latest (installs fd at runtime)
rsync-dockerrsync — fast incremental file transfer/syncinstrumentisto/rsync-ssh:latest
rclone-dockerrclone — sync/manage files across cloud storage providers (official image)rclone/rclone:latest
watchdog-dockerwatchdog’s watchmedo — run commands on filesystem changespython:3.13-slim (installs watchdog at runtime)
hadolint-dockerhadolint — Dockerfile linter (official image)hadolint/hadolint:latest
markdownlint-dockermarkdownlint-cli — Markdown linter (community image)igorshubovych/markdownlint-cli:latest

Note: rg-docker, tmux-docker, fd-docker, and watchdog-docker have no official pre-built image, so they install the package into a fresh container on every run (a few extra seconds per invocation).

Usage#

# Lint a YAML file
yamllint-docker config.yml

# Lint and format a shell script
shellcheck-docker script.sh
shfmt-docker -l -w script.sh

# Scan a host
nmap-docker -A -T4 scanme.nmap.org

# Query JSON
jq-docker '.' data.json

# Search recursively for a pattern
rg-docker "TODO"

# Sync files
rsync-docker -av src/ dest/
rclone-docker ls remote:bucket

The Sources#

GitHub: https://github.com/willhallonline/docker-devtools-aliases

Find out more#