2 ms·
You can specify the UID, GID, and mode of the secret from within the container: https://docs.docker.com/engine/reference/commandline/service_create/#/create-a-
by cyli 10y ago
You can specify the UID, GID, and mode of the secret from within the container: https://docs.docker.com/engine/reference/commandline/service_create/#/create-a-service-with-secrets https://docs.docker.com/engine/reference/commandline/service..., and pass the same configuration to the service update command as well.
- unpythonic 10y agoOh, that's great to know. That coupled with filling out the size to an uninteresting length with nulls (or another delimiter) covers my concerns. For example: $ echo "my secret" | dd bs=512 conv=sync | docker secret create my_secret_data -