I am trying to install Lemmy with Docker. I followed the instructions here but I get the following error message:
ERROR: The Compose file './docker-compose.yml' is invalid because:
Invalid top-level property "x-logging". Valid top-level sections for this Compose file are: version, services, networks, volumes, secrets, configs, and extensions starting with "x-".
It says extensions start with “x-”, so I assume that I need to install some extension regarding to logging. This is straightforward, but apparently I haven’t been able to find the right keywords to ask Google…
Could anyone point me to this required extension and how to install it?
Try updating your docker-compose version. Any top-level property starting with
x-
should be accepted as an extension, whether compose can understand it’s contents or not. In this case thex-logging
section is used as a fragment to set up default logging settings for each service.The doc says
and I have,
However, I don’t have docker.io, because
I am a bit wary about uninstalling containerd and runc, because I have a few other docker containers running on the VPS and I don’t want to break them. What is the difference between docker.io and the regular docker package? Is it why docker-compose throws an error?