We are running the vault-cli in an Alpine Docker image within our GitLab CI. After an upgrade we are getting this when Vault is called:
/bin/bash: line 117: /usr/sbin/vault: Operation not permitted
Felix
According to this issue, add this to your Dockerfile:
apk add --no-cache vault libcap
setcap cap_ipc_lock= /usr/sbin/vault
Note though that this is only secure when not using vault as server here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With