I have been trying to set the value of /hab/sup/default/CTL_SECRET for a Habitat package I’ve exported as Docker container, but I can’t seem to find a way to do it.
If I set
HAB_CTL_SECRET environment variable, the various
hab client commands will pick it up fine, but since it wasn’t set with the same value when the supervisor started, I get
Is there a way to do this? Here’s what I think I want:
docker run -it hub.docker.com/origin/mypkg run --listen-ctl 0.0.0.0:9632 --ctl-secret dead-beef