fiftyone
fiftyone copied to clipboard
[DOCS] Docker Support
Add a section to the environments page outlining best practices for working with FiftyOne inside docker. We may want to consider also providing pre-built docker images of FiftyOne.
Prebuilt Docker images would be great 🙂 but even a well-tested Dockerfile would be great. It would allow me to take FiftyOne for a test drive! Running the image with something like
docker run -it -p 8080:8080 -v `pwd`/mydata:/fiftyone/data voxel51/fiftyone:latest
should work even for remote servers.
I just quickly made one that seems to work if you need it @AndreaPi https://github.com/Data-drone/fiftyone_app.git
Tried to bring a container up and running myself. It has a similar structure as the one from @Data-drone . It is running by the logs, but I cannot access on via browser. Any help would be very appreciated!
Dockerfile:
FROM python:3.10-buster
RUN pip install fiftyone==0.16.6
ENTRYPOINT ["python", "-c", "import fiftyone; session = fiftyone.launch_app(port=8082); session.wait()"]
docker build -t fiftyone:latest .
docker run -it -d -p 8082:8082 fiftyone:latest