Container
first choice$ doze add rabbitmq --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 rabbitmq, so this is the block it writes.
doze.hcl
service "rabbitmq" { # a container: a container is just a command, and `run` stays in the foreground run = "docker run --rm -p $HOST:$PORT:5672 rabbitmq:3" port = 5672 }