Container
first choice$ doze add opensearch --as containerA container is just a command that stays in the foreground. Needs Docker or a compatible runtime. doze knows no run line for an installed opensearch, so this is the block it writes.
doze.hcl
service "opensearch" { # a container: a container is just a command, and `run` stays in the foreground run = "docker run --rm -p $HOST:$PORT:9200 opensearchproject/opensearch" port = 9200 }