I’ve used Docker for over part a decade now, and the majority of that point I have used Docker Run instructions. I lately switched to Docker Compose, and it made my homelab such a lot more straightforward to regulate.
I at all times used Docker Run instructions as a result of they are simple
I simply translated them to be Portainer release instructions
I went immediately from the usage of Docker in Unraid to the usage of Docker in Portainer, which supposed I mainly by no means touched Docker Compose recordsdata. Docker on Unraid could be very level and click on as lots of the apps have templates that auto configure them.
With Portainer, I sought after one thing that felt acquainted, so I simply changed the Docker Run instructions (and even Docker Compose recordsdata) to paintings throughout the commonplace release parameters for Portainer. Successfully, i used to be the usage of Docker Run, simply with additional steps.
I appreciated this system as it used to be acquainted, quite easy, and confirmed me all the choices up entrance as an alternative of me having to determine what to kind right into a command. Portainer in point of fact made Docker simple to make use of. The issue is, that does not lend a hand when shifting to another formula.
Docker Compose, then again, is system-agnostic and works identically regardless of the place you utilize it. Sooner or later, I made up our minds to ditch my outdated manner of launching boxes and entirely embody Docker Compose and I have been more than happy with the exchange.
Docker Compose is much more straightforward to customise
It is all performed in YAML, as an alternative of settings displays
For those who’ve by no means used Docker Compose sooner than, it is necessarily only a YAML report that tells Docker what to do. You’ll come with a couple of boxes inside of a unmarried Compose report they usually all mechanically proportion an area community, which makes it very handy for better products and services.
You’ll additionally view and edit Compose recordsdata after launching a provider. With commonplace Docker Run instructions within the terminal, that is not conceivable. It’s important to manually prevent that container after which re-type the command to release the container once more.

The “lazy” solution to organize Docker Bins like a DevOps professional
You get a keyboard-first UI to start out/prevent boxes, watch logs, and debug simply with out leaving the terminal.
With one thing like Portainer, you might be successfully rebuilding the container and feature to modify the settings you need after which de-deploy it. It’s kind of more effective then commonplace Docker Run instructions, however it is nonetheless no longer all that straightforward.
The use of Docker Compose, I am now ready to only open up the Compose report, make no matter adjustments I want to it, then redeploy the Compose report. It is such a lot more effective now to make a transformation to a container then it was once.
Docker Compose permits me to transport a container to another formula simply
Replica and pasting the Compose report is all that is required
Transferring boxes to other programs is the precise reason why that I moved the whole lot to Compose. A month or so in the past, I had a beautiful catastrophic information loss tournament occur in my homelab—and it used to be all my fault.
Fortunately I did not lose anything else too vital, however it used to be nonetheless a royal ache to get the whole lot operating once more. This integrated any Docker boxes I needed to re-launch. I misplaced all the configurations for the boxes. For the boxes I did not lose, I did not have any actual solution to again up their release instructions.
So, I made up our minds to recreate all of my boxes the usage of Docker Compose. It used to be tedious, however it has unquestionably been price it in spite of everything. Now, I am able to take the similar Docker Compose report that is operating on one formula, replica and paste it to any other, and that Docker stack is up and operating in seconds.
It is so handy, and I have no idea why I did not embody Docker Compose sooner than. Take as of late, for example. As of penning this, Plex just lately introduced the cost hike for Lifetime Plex Go.
Whilst I have already got a Lifetime Plex Go, I sought after to check out out Jellyfin because it have been some time since I ultimate used it. I used to be ready to easily open up my Plex Compose report, replica the report paths for the place my media is saved, or even replica the tool paths for the transcoding tool, and paste them into the Jellyfin Compose report.
Inside 5 mins, I had Jellyfin up and operating with complete transcoding give a boost to and studying all the film and TV display libraries that Plex already had get entry to to. I did not have to visit a couple of tabs to look what settings have been there, I did not have to duplicate and paste issues line-by-line, and I did not have to check out to keep in mind which toggles to turn.
Since it is all YAML, and it is at the similar formula, all the ancillary data, just like the media and tool paths, are equivalent for each streaming platforms. This made it tremendous easy to deploy Jellyfin.
I have extensively utilized the similar approach to transfer Docker stacks to an absolutely other formula. I’ve 3 mini PCs operating in my homelab, in addition to a full-size desktop and two NAS servers—all of which run Docker.
So, I am able to merely take the Compose report and any configuration recordsdata saved at the server, transfer it to a brand new formula, and spin it up in seconds.
- Emblem
-
KAMRUI
- CPU
-
AMD Ryzen 7 7735HS
- Graphics
-
AMD Radeon 680M
- Reminiscence
-
16GB LPDDR5
- Garage
-
512GB NVMe
The KAMRUI Hyper H1 mini PC is best possible for setups that desire a high-performance desktop with out spending an arm and a leg. It boasts the AMD Ryzen 7 7735HS 8-core 16-thread processor and 16GB of LPDDR5 RAM (which isn’t user-upgradable). The pre-installed 512GB NVMe force can also be swapped out for a bigger one despite the fact that, and there is a 2nd NVMe slot for added garage if wanted.
Docker Compose is a homelab exchange I want I made years in the past
On the finish of the day, Docker Compose merely makes my homelab more straightforward to supervisor. I want I hired it way back, as it could have stored me relatively somewhat of heartache when shifting boxes to new servers.
If you are no longer already the usage of Docker Compose, check it out. It isn’t as intimidating as it’s possible you’ll assume, and it will hugely support your Docker workflow.


