If you’re frequently using the docker compose exec command and want a faster way to access your Docker containers, this guide will show you how to create a simple alias or function in your .zshrc file on macOS. Step 1: open your .zshrc file Step 2: Add the de Function Scroll to the bottom of… Continue reading Add docker compose exec bash alias