1 unstable release
new 0.1.0 | Nov 24, 2024 |
---|
#319 in Unix APIs
59 downloads per month
8KB
151 lines
Docker fetch
Intended to be used as a preview for (fzf)https://github.com/junegunn/fzf
Example: Pick a container and shell into.
Add to your .bashrc.
dsh() {
container=$(docker ps -q | fzf --header="Pick Container" --preview="docker inspect {} | docker-fetch")
echo -e "\033[36mShell:\033[0m $container"
docker exec -it $container bash
}
Install
cargo install docker-fetch --locked
Dependencies
~1.7–2.8MB
~53K SLoC