Replies: 3 comments
-
I think that you need to forward the port from within the container. Something like this (not tested): docker run -it --rm -p 8080:8080 -v ~/.fscrawler:/root/.fscrawler -v ~/tmp:/tmp/es:ro dadoonet/fscrawler fscrawler job_name --rest |
Beta Was this translation helpful? Give feedback.
-
Actually David I just did that: docker run -it -p 8080:8080 --rm -v ~/.fscrawler:/root/.fscrawler -v ~/tmp:/tmp/es:ro dadoonet/fscrawler fscrawler job_name --rest Now I get a different response: serveracct@server:~$ curl http://127.0.0.1:8080/fscrawler/ |
Beta Was this translation helpful? Give feedback.
-
Not sure this is relevant: serveracct@server:~/.fscrawler/job_name$ curl https://127.0.0.1:8080/fscrawler/ |
Beta Was this translation helpful? Give feedback.
-
Here's my _settings.yaml:
serveracct@server:~/.fscrawler/job_name$ curl http://127.0.0.1:8080/fscrawler/ curl: (7) Failed to connect to 127.0.0.1 port 8080 after 0 ms: Connection refused
Beta Was this translation helpful? Give feedback.
All reactions