Hey, I have my custom tika-config.xml on my Desktop. when I run the following command from my Desktop:
docker run -d -p 127.0.0.1:9998:9998 -v ./tika-config.xml:/tika-config.xml apache/tika:2.5.0-full --config /tika-config.xml I get the following error message: ERROR [main] 17:53:29,564 org.apache.tika.server.core.TikaServerCli Can't start: java.io.IOException: Is a directory at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?] at sun.nio.ch.FileDispatcherImpl.read(FileDispatcherImpl.java:48) ~[?:?] at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:330) ~[?:?] at sun.nio.ch.IOUtil.read(IOUtil.java:296) ~[?:?] at sun.nio.ch.IOUtil.read(IOUtil.java:273) ~[?:?] at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:232) ~[?:?] at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65) ~[?:?] at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:107) ~[?:?] at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:101) ~[?:?] at java.io.InputStream.read(InputStream.java:218) ~[?:?] at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:81) ~[?:?] at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.readAndBuffer(Unknown Source) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) ~[tika-server-standard-2.6.0.jar:2.6.0] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122) ~[?:?] at org.apache.tika.utils.XMLReaderUtils.buildDOM(XMLReaderUtils.java:483) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.tika.config.ConfigBase.configure(ConfigBase.java:506) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.tika.server.core.TikaServerConfig.load(TikaServerConfig.java:211) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.tika.server.core.TikaServerConfig.load(TikaServerConfig.java:198) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.tika.server.core.TikaServerConfig.load(TikaServerConfig.java:155) ~[tika-server-standard-2.6.0.jar:2.6.0] at org.apache.tika.server.core.TikaServerCli.main(TikaServerCli.java:77) ~[tika-server-standard-2.6.0.jar:2.6.0] Does anyone know why? thanks.