...
Return to the main docker folder
Code Block language bash cd ..
Change directory to scsb-solr-server
Code Block language bash cd scsb-solr-server
Use the sudo docker build command to build docker images. (Do note the dot (.) at the end of the command).
Code Block language bash sudo docker build -t scsb-solr-server .
Use the sudo docker run command to run docker container.
Code Block language bash sudo docker run --name scsb-solr-server -v /data/solr-data:/var/data/solr -p 8983:8983 -d scsb-solr-server -e "ENV=-m 4g"
Executing the above commands will create image and run the container resulting in a solr server instance running on port 8983.
...