Simplify Docker, Docker Compose, and Linux Commands with Bash Aliases
Vložit
- čas přidán 26. 06. 2024
- Docker and Docker Compose commands can be lengthy and not so easy to remember. In addition, there are some nice tricks that may require special syntaxes to format them out.
And if you spend a long time on your homelab, this could be a lot of typing and time waste.
In this video, I will show you how I use Bash Aliases to simplify issuing not just Docker and Docker Compose commands but also Linux commands.
For this demo, I am using Ubuntu 22.04 Server Edition. But the procedure is essentially the same for most Linux distros.
#docker #linux #dockercompose #dockertutorial #homelab #minilab #homeserver #ubuntu
TIMESTAMPS
0:00 Introduction
1:23 Full/lengthy Docker and Docker Compose commands
4:46 Creating Bash Aliases
7:56 Bash Aliases for Docker and Docker Compose commands
12:16 Bash Aliases for Linux commands
13:52 Wrapping Up
RELEVANT LINKS (in the order of appearance):
🔗 Docker on Proxmox Unprivileged LXC: • Docker on Proxmox LXC ...
🔗 Mounting Remote SMB Shares using Rclone: • Rclone SMB Mount on Ub...
🔗 Ultimate Docker Media Server: www.smarthomebeginner.com/doc...
ULTIMATE DOCKER SERVER SERIES:
Playlist: • Mini Homelab Tour - I ...
AUTO-TRAEFIK:
📰 www.smarthomebeginner.com/go/...
🎞️ • Auto Traefik 2 - Docke...
GITHUB REPOSITORIES:
📜 github.com/htpcbeginner/docke...
SUPPORT MY WORK:
🤝 www.smarthomebeginner.com/go/...
JOIN THE COMMUNITY:
👋 www.smarthomebeginner.com/go/...
🌐 www.smarthomebeginner.com/
FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
👥 Twitter: / anandslab
👥 Facebook: / anandslab
👥 Instagram: / smarthomebeginr - Věda a technologie
POST PUBLICATION NOTES:
The linked Bash Aliases file is constantly evolving. In fact, I already made changes from the time the video was recorded.
6:33 Commenting out this line is not needed anymore. I built in a logic to automatically use it or ignore it.
Good Job man
Thanks!
Very very beautiful 😍
we should share our aliases, i've got some insanely long ones which are pretty neat and useful
Do share them or on the discord. I know you are quite active there 🙂