Skip to content

Commit 7a63414

Browse files
committed
Expand documentation on use of environment variables
Addresses the confusion expressed in issue dump247#7.
1 parent 4db2bda commit 7a63414

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docker-container-setup.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ By default, a container receives the default permissions configured by the metad
22
proxy. However, some containers require more or less permissions. For these cases, the
33
container can provide a custom IAM role, a custom IAM policy, or both.
44

5+
The role and/or policy are configured in container environment variables. The metadata
6+
proxy daemon uses the docker API to get the configured role and policy for a container.
7+
The environment variable can only be set when the container is created and can not be
8+
modified while the container is running.
9+
510
# Container Role
611

712
A container can specify a specific role to use by setting the `IAM_ROLE` environment

0 commit comments

Comments
 (0)