Skip to main content

The Initial Setup

I started my journey by setting up Docker and Lando on my Manjaro Linux system. After installing both, I was able to run a 'Hello World' PHP script. All seemed well until Lando threw a warning about Docker's version compatibility.

The Warning

Lando wasn't too happy with my Docker version, which was 24.0.2. It wanted something in the range of 18.09.3 - 20.10.99. The warning looked like this:

lando restart ... ■ Using an unsupported version of DOCKER ENGINE   You have version 24.0.2 but Lando wants something in the 18.09.3 - 20.10.99 range. ...

The Downgrade Saga

Initially, I thought downgrading Docker would be the way to go. So, I attempted to uninstall Docker using Manjaro's package manager, pacman, with the following command:

sudo pacman -R docker

The Roadblock

But alas, pacman threw an error:

error: failed to prepare transaction (could not satisfy dependencies) :: removing docker breaks dependency 'docker' required by lando

Lando was dependent on Docker, so I couldn't just uninstall it. I even considered uninstalling Lando first to get around this but decided against it.

The Alternative Path

I found that Docker itself suggested a way to install specific versions using a curl command. It looked promising, but it also came with its own set of challenges, like potential dependency issues.

The Decision: Sticking with Docker 24.0.5

After much contemplation, I decided to stick with the newer Docker version, 24.0.5. I've been running this setup for a few weeks now, and apart from Lando's warning, I haven't encountered any issues.

The Outcome

Despite the warning, my Lando services are up and running smoothly. Here's a snippet of the services:

Here are some vitals: NAME      drupal-blog LOCATION  /home/bevan/workspace/drupal_blog SERVICES  appserver, database URLS  ✔ APPSERVER URLS    ✔ https://localhost:32832 [200]    ✔ http://localhost:32833 [200]    ✔ http://drupal-blog.lndo.site/ [200]    ✔ https://drupal-blog.lndo.site/ [200]

Conclusion

This journey was filled with twists and turns. From the initial setup to the Docker version saga, it's been quite an adventure. In the end, I decided to stick with the newer Docker version, and so far, it's been smooth sailing. This experience has also given me valuable insights into the intricacies of Manjaro's package management and Docker's flexibility.