1. Pull the Docker Image (CLI or Docker Desktop)¶
Using CLI:
- Open a terminal and run:
docker pull bilayer/<repo_name>:<tag>
Using Docker Desktop (GUI):
- Open Docker Desktop, go to the Images tab, and search for
bilayer
- Pull the image directly from DockerHub
2. Run the Docker Container (CLI or Docker Desktop)¶
Using CLI:
- Gradio Interface (No Volume Mount):
docker run -it --rm bilayer/<repo_name>:<tag>
- Jupyter Interface (Requires Volume Mount):
docker run -it --rm -v /path/to/your/data:/bilayers/input_images bilayer/<repo_name>:<tag>
Using Docker Desktop (GUI): In the Containers tab, create a new container:
- Gradio: Start the container as-is, assign it a name, and select an available port (e.g., 8000 for Gradio)
- Jupyter: Use the Volume option to mount your data directory to /bilayers/input_images