1. 개요
Docker를 이용한 Solr 설치
2. 방법
$ docker run -d -p 8983:8983 --name mySolr -t solr
진행 중이다.
$ docker run -d -p 8983:8983 --name mySolr -t solr Unable to find image 'solr:latest' locally latest: Pulling from library/solr c73ab1c6897b: Pull complete 1ab373b3deae: Pull complete b542772b4177: Pull complete 0bcc3741ab14: Pull complete 421d624d778d: Pull complete 26ad58237506: Pull complete 8dbabc90b2b8: Extracting [==========================================> ] 131.5MB/155.2MB 982930be204d: Download complete 068e36c8a7ad: Download complete 677c8cf4e6c5: Download complete 5f332d3e244d: Download complete 2fd2b5a57fe1: Downloading [===> ] 11.77MB/153.3MB 37dc087bc548: Download complete ea34832b786a: Download complete
완료되었다.
$ docker run -d -p 8984:8984 --name mySolr -t solr Unable to find image 'solr:latest' locally latest: Pulling from library/solr c73ab1c6897b: Pull complete 1ab373b3deae: Pull complete b542772b4177: Pull complete 0bcc3741ab14: Pull complete 421d624d778d: Pull complete 26ad58237506: Pull complete 8dbabc90b2b8: Pull complete 982930be204d: Pull complete 068e36c8a7ad: Pull complete 677c8cf4e6c5: Pull complete 5f332d3e244d: Pull complete 2fd2b5a57fe1: Pull complete 37dc087bc548: Pull complete ea34832b786a: Pull complete Digest: sha256:8214f6c4b5a3579d2a8d33ade32c9566530a2c6bc19d305fd009bc54699cd28b Status: Downloaded newer image for solr:latest 4285fa42db4bff5c19542f1de1fa89954d0a5bee9b724e6617b4fdc9af895a98
3. 확인
$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4285fa42db4b solr "docker-entrypoint.s…" 30 seconds ago Up 29 seconds 0.0.0.0:8983->8983/tcp mySolr