Docker importing a realm to Postgres

I have a export of all my realms in a single json file
I want to run Keycloak from a Docker container and use Postgres
this is my docker run

docker run -p 8080:8080 -p 8443:8543 \
--name keycloak --net keycloak-network \
-e KEYCLOAK_USER=**** -e KEYCLOAK_PASSWORD=**** \
-e DB_VENDOR=postgres -e DB_ADDR=postgres -e DB_USER=**** -e DB_PASSWORD=**** \
-e KEYCLOAK_IMPORT=/tmp/example-realm.json \
-v /path/to/all-realm-export.json:/tmp/example-realm.json \
jboss/keycloak

This is what I surmise is the relavant port of the log

20:11:35,556 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 60) HV000001: Hibernate Validator 6.0.20.Final
20:11:37,158 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 60) HHH000397: Using ASTQueryTranslatorFactory
20:11:38,048 FATAL [org.keycloak.services] (ServerService Thread Pool -- 60) Error during startup: java.lang.RuntimeException: java.io.FileNotFoundException: /tmp/example-realm.json (Permission denied)

What am I missing?

Take a look at the docker-compose file in https://github.com/zonaut/keycloak-extensions/
I think you might be missing dot before /path/to/all-realm-expor…

Permission denied is interesting. Are you sure the user you run Keycloak as can read the file?