I can't get neo4j 5 community to start with docker compose

I am trying to get the latest version of neo4J to start

I keep getting:
neo4j_os_db | sed: couldn't open temporary file /var/lib/neo4j/conf/sed80lCnC: Permission denied
neo4j_os_db exited with code 4

Neo4j:
container_name: neo4j_os_db
image: neo4j:5.12.0-community
environment:
- NEO4J_dbms_memory_pagecache_size=1G
- NEO4J_dbms.memory.heap.initial_size=1G
- NEO4J_dbms_memory_heap_max__size=1G
ports:
- 7474:7474
- 7687:7687
networks:
- local_insanity
volumes:
- ./neo4j/data:/var/lib/neo4j/data/
- ./neo4j/conf:/var/lib/neo4j/conf/
- ./neo4j/import:/var/lib/neo4j/import/
- ./neo4j/logs:/var/lib/neo4j/logs/
- ./neo4j/plugins:/var/lib/neo4j/plugins/
- ./neo4j/backups:/var/lib/neo4j/backups/

It could be that you're using the wrong mount points for your volumes.
See:

for the correct mount points.

While there is no "correct" mount point for backups, I wouldn't recommend mounting anything under /var/lib/neo4j. The docker entrypoint script does a lot of re-owning operations on that folder and you're likely to have all kinds of permissions trouble with anything mounted to there.

Thank you so much for the quick reply. I will take a look at that.