docker build -t openstack-search .
- create local bridge
 
docker network create -d bridge --subnet 192.168.0.0/24 --gateway 192.168.0.1 docker-bridge
- run container
 
docker run --name openstack-search1 \
-v mongo-data-db:/data/db \
-v mongo-data-config-db:/data/configdb \
-v solr-data:/var/solr/data \
--net=docker-bridge \
-p 32769:8983 -d -m 8GB --oom-kill-disable \
--restart=always openstack-search
docker exec -it openstack-search1 /bin/bash
- check process using supervisord
 
supervisorctl
by default creates 4 cores
- www site
 - docs site
 - super users
 - blog
 
docker exec -it openstack-search1 create-nutch-core.sh $NEW_CORE_NAME $BASE_SEED_URL
- https://wiki.apache.org/nutch/NutchTutorial
 - https://wiki.apache.org/nutch/FAQ#How_can_I_force_fetcher_to_use_custom_nutch-config.3F
 - https://wiki.apache.org/nutch/IndexMetatags
 
- kill all running containers with
 
  docker kill $(docker ps -q)
- delete all stopped containers with
 
  docker rm $(docker ps -a -q)
- delete all images with
 
  docker rmi $(docker images -q)