Docker and Fuzzy Finder (fzf)

Carlos Alberto
3 min readFeb 12, 2017

If you work with docker, and like me, don’t like to use UIs but the terminal to express what you want, this article may help you.

All we know that many devs spend tons of hours using the terminal, although it’s cool, sometimes it can become a pain when the things you want to express are too long, that’s what’s been happening to me with docker, you should know what I mean.

That’s why I want to show you how to create custom commands and comfortable interactive menus in your terminal by using the amazing project FuzzyFinder to make your life easier.

fzf is a general-purpose command-line fuzzy finder that can be used to create custom interactive menus from the terminal, learn more in the github repository, first of all install fzf in your system:

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

I’ve made the hardest part for you by learning bash and coding all the examples in this article, to make it work, you just have to add them to your .bash_profile and reload it in your current session, by the way, Bash 4 is a requirement to make them work.

vim ~/.bash_profile     # edit
source ~/.bash_profile # reload

Running containers

--

--

Carlos Alberto
Carlos Alberto

Responses (1)