After setting up docker in windows 10, I tried installing application using the following command
$ docker pull datafari/datafariv3 docker run -t -i -p 8080:8080 datafari/datafariv3
unknown shorthand flag: 't' in -t
See 'docker pull --help'.
This failed. Hence I tried installing it first using the command
$ docker pull datafari/datafariv3 (which worked)
and then tried starting the application using the command
$ docker run -t -i -p 8080:8080 datafari/datafariv3
However, this does not seem start the application. It gets stuck at this point MCF configuration.
...
Start zookeeper
JMX enabled by default
Using config: /opt/datafari/zookeeper/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
Start Tomcat
Using CATALINA_BASE: /opt/datafari/tomcat
Using CATALINA_HOME: /opt/datafari/tomcat
Using CATALINA_TMPDIR: /opt/datafari/tomcat/temp
Using JRE_HOME: /opt/datafari/bin/../jvm
Using CLASSPATH: /opt/datafari/tomcat/bin/bootstrap.jar:/opt/datafari/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/datafari/bin/../pid/tomcat.pid
Tomcat started.
Uploading configuration to zookeeper
Uploading MCF configuration
Configuration file successfully read
Nothing happens after this and http://localhost:8080/Datafari is not accessible either. Hence i had to do a Ctrl + c to stop and come out. and the following log messages continues in the terminal ^C
Session terminated, terminating shell... ...terminated.
Starting MCF Agent ...
Configuration file successfully read
Synchronization storage cleaned up
MCF Agent started with PID 1028
Waiting up to 30 seconds to see Solr running on port 8983 [-]
Started Solr server on port 8983 (pid=1247). Happy searching!
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">5301</int></lst><lst name="success"><lst name="localhost:8983_solr"><lst name="responseHeader"><int name="status">0</int><int name="QTime">4836</int></lst><str name="core">FileShare_shard1_replica1</str></lst></lst>
</response>
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">2939</int></lst><lst name="success"><lst name="localhost:8983_solr"><lst name="responseHeader"><int name="status">0</int><int name="QTime">1648</int></lst><str name="core">Statistics_shard1_replica1</str></lst></lst>
</response>
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">2924</int></lst><lst name="success"><lst name="localhost:8983_solr"><lst name="responseHeader"><int name="status">0</int><int name="QTime">1590</int></lst><str name="core">Promolink_shard1_replica1</str></lst></lst>
</response>
tail: cannot open '/opt/datafari/logs/datafari.log' for reading: No such file or directory
tail: no files remaining