Neo4j auto upgradation

We have deployed Neo4j- community(4.1.1) version on Amazon Linux 2 AMI. So the issue arises whenever our docker daemon is down, in order to run our other projects whenever we restart the docker daemon service, Neo4j automatically gets updated to version 4.4.4 which incompatible with the libraries we need for our project.

We are also unable to use the database that was created by Neo4j(4.1.1) in the new version, it shows the following error message " Database "neo4j" is unavailable, its status is "offline". "