6
submitted 1 year ago* (last edited 1 year ago) by Orban@lemmy.world to c/selfhosted@lemmy.world

Hey guys, im writing here because i'm really out of options and ideas. I have been trying to set up my lemmy instance in docker put i keep failing at the first step. I have filled every {{}} detail and still getting this 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-".

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.

I have tried to edit the version number, even deleting it but then im getting this:

The Compose file './docker-compose.yml' is invalid because: Unsupported config option for x-logging: 'options' Unsupported config option for services: 'proxy'

Do you have any idea?

Edit: Thank you all for the ideas. Actually the docker compose up -d solved it!

you are viewing a single comment's thread
view the rest of the comments
[-] mhzawadi@lemmy.horwood.cloud 1 points 1 year ago* (last edited 1 year ago)

where did you install Docker from? is it the docker repo or somewhere else?

Edit: check this out - https://docs.docker.com/engine/install/centos/

[-] Orban@lemmy.world 1 points 1 year ago
[-] mhzawadi@lemmy.horwood.cloud 2 points 1 year ago

has docker got version locked in yum?

this post was submitted on 07 Jul 2023
6 points (80.0% liked)

Selfhosted

39677 readers
364 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS