I’m trying to run the vault docker image (from the docker registry) as an ACI. I’ve succeeded in starting it in Dev mode however I can’t seem to get it to run in server mode. I’ve created an azure file share and put the configuration file out. The issue is that the “docker run” command expects “server” as the command after the IMAGE name (docker run … vault server). when I put “server” on the ACI creation as the --command-line parameter Azure complains that server is not in the path. I think that I need to specify the full path for this to work, but am not aware of what that might be. Any suggestions
The trick turns out to specify the complete entry point as the --command-line option. In this case it was “/usr/local/bin/docker-entrypoint.sh server”.