I am trying to follow the example on running solr via docker.  the example
is from

https://solr.apache.org/guide/solr/latest/deployment-guide/solr-in-docker.html

what is the last two part of the command highlighted.
docker run -d -v "$PWD/indata:/var/solr" -p 8983:8983 --name my_solr *solr
solr-precreate*

how to fix the problem when I run the above command, it will exit 1.
root@abc:/mnt/c/Users/abcd/Downloads/wsl# docker run -d -v
"$PWD/indata:/var/solr" -p 8983:8983 --name my_solr solr solr-precreate
0608bf3e16cd2f7dd1ec00db7e04f76e9fd8499c47eb87033d781d146c267f5e
root@abc:/mnt/c/Users/abcd/Downloads/wsl# docker container ls -a
CONTAINER ID   IMAGE                 COMMAND                  CREATED
  STATUS                       PORTS     NAMES
0608bf3e16cd   solr                  "docker-entrypoint.s…"   5 seconds ago
  Exited (1) 5 seconds ago               my_solr

Reply via email to