Closed teuber789 closed 3 years ago
Is this a regression? It appears to have been fixed at one point: https://github.com/eclecticiq/OpenTAXII/issues/127
@arcsector @traut you two often frequent this project. This issue is still happening. Any ideas?
@jtcotton63 Does this happen when you build the image from the dockerfile in a clone of the repo as well?
The bug is still present in the Docker image in the hub.
Does this happen when you build the image from the dockerfile in a clone of the repo as well?
Yes
docker run \
-p 9000:9000 \
-v /path/to/local/repo/examples/data-configuration.yml:/input/data-configuration.yml \
eclecticiq/opentaxii
More in the documentation: https://opentaxii.readthedocs.io/en/stable/docker.html#volumes
As the README says
NOTE: OpenTAXII is now accessible through port 9000, with data stored locally in a SQLite databases using services/collections/accounts defined in data-configuration.
It is indeed a bug and we’d love to have it fixed, however it’s not a high priority for our team at the moment, so we can’t promise when it will get fixed. Still, we’re very open to external contributions - if you know how to fix this problem and you can open a PR with a fix, we will be very grateful.
I think this is a documentation issue instead of a bug, because of these reasons:
cd to 'examples' folder under local git repo. Mount the folder into input directory while starting the opentaxii container.
/input
Hence, I will fix the documentation instead.
Hey all,
I've run into an interesting problem. The default docker container on port 9000 doesn't seem to have to default collections/services/etc described in the documentation.
Problem overview
When I run the default docker container, it seems to start up without any errors:
However, I get a
404
when trying to poll one of the default collections:Same for discovery:
It looks like none of the entities were copied over from the data-configuration.yml file:
Setup
Any ideas?