Skip to content

neo4j-admin: command not found #523

@KavinKKuppusamy

Description

@KavinKKuppusamy

Hi All

I'm trying to setup neo4j in a AKS environment through Docker following our company's guidelines.

`FROM neo4j:5.24

Set environment variables for Neo4j

ENV NEO4J_AUTH=neo4j/Admin_1234
ENV NEO4J_server_memory_pagecache_size=512M
ENV NEO4J_server_memory_heap_initial__size=512M
ENV NEO4J_server_memory_heap_max__size=1G

Disable usage reporting

ENV NEO4J_dbms_usage__report_enabled=false

Expose Neo4j ports

EXPOSE 7474 7687 7473

#Set the working directory in container
WORKDIR /

USER neo4j

CMD ["neo4j"]
`
However when I run this in our AKS container, I get the error as "/startup/docker-entrypoint.sh: line 349: neo4j-admin: command not found". Could you please help wit this?

  • Expected behaviour : Able to run the docker file in my local docker container
  • Actual behaviour : Failure in AKS container as "/startup/docker-entrypoint.sh: line 349: neo4j-admin: command not found"
  • Neo4j image tag being used, neo4j:5.24

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions