Solr can't create core in docker command
来源:互联网 发布:阿里云软件下载 编辑:程序博客网 时间:2024/06/05 23:04
This is a error while create a new core by commandline in docker.
solr在docker下创建core失败的问题, 官网及所有博客中给的命令中没包含端口号, 估计是create_core程序更新导致的.
>> docker exec -it --user=solr my-solr bin/solr create_core -c gettingstartedbin/solr: line 957: ps: command not foundFailed to determine the port of a local Solr instance, cannot create gettingstarted!
Because it’s missing the port, but the right command is :
>> docker exec -it --user=solr my-solr bin/solr create_core -p 8983 -c gettingstartedCopying configuration to new core instance directory:/opt/solr/server/solr/gettingstartedCreating new core 'gettingstarted' using command:http://localhost:8983/solr/admin/cores?action=CREATE&name=gettingstarted&instanceDir=gettingstarted{ "responseHeader":{ "status":0, "QTime":1111}, "core":"gettingstarted"}
you
can use this command to search help.
docker exec -it --user=solr my-solr bin/solr -help
阅读全文
0 0
- Solr can't create core in docker command
- 处理 keilc can't create command input file '(null)' 错误
- Can't create cache file
- Create database in command-line
- Solve the problem:Automation server can't create object in VS 2003
- setup.py install running install error: can't create or remove files in install directory
- RDO Stack: Install newton in the dashboard can't create images
- Can't use "address" as an attribute in core data Entity
- docker python 提示错误UnicodeEncodeError: 'ascii' codec can't encode characters in position
- mysql can't create table errno 150
- 报错can't create unix socket
- VS2005 can't create the project
- MYSQL中遇错:Can't Create table...
- Can't create table errono 121
- Can't create handler inside thre
- Can't create handler inside thread
- ERROR 1005: Can't create table
- magento Can't create eavblog_posts table
- 单例模式的4种写法
- difacto中的loss.h
- 面试题50:树中两个节点的最低公共祖先
- 由chmod改系统文件权限引ssh登录报ssh_exchange_identification: read: Connection reset by peer无法登陆问题
- properties文件的写入和读取
- Solr can't create core in docker command
- 如何理解和熟练运用js中的call及apply?
- 分布式框架简介SSM组合+ springmvc+mybatis+shiro+restful+bootstrap
- 关于树莓派的连接
- POJ
- 494. Target Sum
- Delphi中JSon SuperObject 使用:数据集与JSON对象互转
- caffe convnet quick guide
- RocketMQ原理解析-producer 2.如何发送消息