1 unstable release
0.1.0 | Nov 24, 2024 |
---|
#305 in Unix APIs
125 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
~52K SLoC