Dynamically create an image with the host's user/uid
Build a Docker image whose user matches the host UID and GID to avoid file ownership problems.
Topic
Bash, tmux, dotfiles and the command-line craft that turns a workstation into a workshop.
7 articles
Build a Docker image whose user matches the host UID and GID to avoid file ownership problems.
Run SFTP transfers from an Alpine container with sshpass, without installing an SSH client on the host.
A personal Bash startup file covering history, completion, aliases and the interactive prompt.
Query the current KDE Plasma activity and desktop name through qdbus and wmctrl aliases.
Bind the up and down arrows to prefix search in Bash with a small .inputrc fragment.
A minimal tmux configuration with a Ctrl-e prefix and the resurrect and continuum plugins.
A multi-user Docker Compose wrapper that creates and reuses per-user containers from a single host.