This document describes how to run Owl using a Docker container.
Using this approach only requires downloading the Docker image from the Docker Hub and having the Docker application installed on your computer.
Downloading the Docker image from the command line:
docker pull owlplanner/owldocker
Then the container can be started (and stopped) from the command line:
docker run -p 8501:8501 --rm owlplanner/owldocker
Just point your browser to http://localhost:8501 to access the Owl user interface. Owl will run locally and safely through a container on your computer.
One can also use the Docker Desktop graphical user interface for performing the same steps. The image owlplanner/owldocker can be searched for and downloaded in the Docker Hub section of Docker Desktop. Then, on the Images section, click on the run icon for the image, and use host port 8501 to map to container port 8501.
This approach requires cloning the Owl package from GitHub, and having both Python and Docker installed on your computer.
First build the Docker image from the docker
directory:
cd docker
docker build --no-cache -t owldocker .
The container can be run directly from the command line, with the desired port mapping.
docker run -p 8501:8501 --rm owldocker
Alternatively, the container can be started using docker-compose
as follows
docker-compose up
The compose file maps the host-side port to the container-side port.
services:
owl:
image: owldocker
restart: always
ports:
- 8501:8501
networks: {}
As before, just point your browser to http://localhost:8501 to access the Owl user interface.
Josh (noimjosh@gmail.com)