dotfiles
docker-credential-helpers
dotfiles | docker-credential-helpers | |
---|---|---|
2 | 2 | |
246 | 1,017 | |
- | 1.1% | |
7.7 | 6.6 | |
8 days ago | 26 days ago | |
Shell | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
Dotfiles Management
You can use chezmoi to manage files outside your home directory if you really want to.
For an example, see https://github.com/felipecrs/dotfiles:
The `home` directory contains home directory files.
The `root` directory contains root directory files (e.g `/etc`).
-
Running Docker on WSL2 the right way
For example, in my dotfiles, every single of these steps are automated, including configuring /etc/docker/daemon.json, changing ~/.profile, and even providing a way to automatically update your extra binaries (docker-compose, or the wincred.exe) every time you update your dotfiles (by using a feature of chezmoi - a dotfiles manager which I totally recommend).
docker-credential-helpers
-
Clever uses of pass, the Unix password manager
Docker supports a credential-helper module[0], which supports 4 different backends for fetching the docker registry credentials: osxkeychain, pass, wincred, and secretservice.
pass lets you use GPG-smartcards, and many of those (such as Yubikeys) will let you enforce touch-policies for signing/encruption.
As a combination of both these however, I must touch my Yubikey every time I pull a new docker image.
Another cool use-case is that I use the terraform-pass-provider to save secrets for my personal terraform project.
[0]: https://github.com/docker/docker-credential-helpers
-
Running Docker on WSL2 the right way
# Finds the latest version $ wincred_version=$(curl -fsSL -o /dev/null -w "%{url_effective}" https://github.com/docker/docker-credential-helpers/releases/latest) # Downloads and extracts the .exe $ sudo curl -fL \ "https://github.com/docker/docker-credential-helpers/releases/download/${wincred_version}/docker-credential-wincred-${wincred_version}-$(dpkg --print-architecture).zip" | zcat | sudo tee /usr/local/bin/docker-credential-wincred.exe >/dev/null # Assigns execution permission to it $ sudo chmod +x /usr/local/bin/docker-credential-wincred.exe
What are some alternatives?
wsl-open - Open files with xdg-open on Bash for Windows in Windows applications. Read only mirror from GitLab, see link :point_right:
switch
homer - The home directory management tool.
gopass - The slightly more awesome standard unix password manager for teams
dotfiles - dotfiles + debian setup
pass-tomb - A pass extension that helps you keep the whole tree of passwords encrypted inside a Tomb.
Docker Compose - Define and run multi-container applications with Docker
dotfiles - My dotfiles, managed with https://chezmoi.io.
kind - Kubernetes IN Docker - local clusters for testing Kubernetes
dotfiles - My dotfiles managed with chezmoi
systemd - The systemd System and Service Manager