Neo4J Docker Intermittent Error (Lock Manager Not Found)

Hey guys,

I'm getting the following intermittent error (maybe half the time) when starting up Neo4J in docker locally. Can anyone help diagnose the issue? Thanks.

Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@352c1b98' was successfully initialized, but failed to start. Please see the attached cause exception "No lock manager found".

Here is the command i use to run with docker.

docker run -p 7687:7687 -p 7474:7474 \
     -v $PWD/neo4j-dev/plugins:/plugins \
     -e NEO4J_apoc_export_file_enabled=true \
     -e NEO4J_apoc_import_file_enabled=true \
     -e NEO4J_apoc_import_file_use__neo4j__config=true \
     -e NEO4J_dbms_security_procedures_unrestricted=apoc.\\\*,gds.\\\* \
     --platform linux/amd64 \
     --env NEO4J_AUTH=neo4j/password \
     neo4j:4.0