This documentation is part of the Quilt Draw project.
Due to licensing concerns, these directions will feature the podman
command, but changing “podman” to “docker” is expected to be compatible
if the Docker engine is in use.
- Change to the repository directory
podman build -t quilt-draw:latest -f build/Containerfile .
or on macOS/Linux,./build/container.sh
This (always) builds an image tagged quilt-draw:latest
.
It does not start a container; that is discussed below.
podman run -it -p 9001:9001 quilt-draw:latest
- Navigate to localhost:9001
The container always listens on port 9001. To use a different port, for example 8080, change the left side of the port-binding value:
podman run --rm -it -p 8080:9001 quilt-draw:latest
Use Ctrl+C to stop the container.
You may need to use Shift+Reload (e.g. Cmd+Shift+R
or Shift+F5
) to
load updated code in the browser after rebuilding the image.