Grant users permission to pull images¶
By default, only administrators can pull images into a cluster managed by MKE. This topic describes how to give non-administrator users permission to pull images.
Images are always in the
swarm collection, as they are a shared resource.
Grant users the
Image Create permission for the
Swarm collection to
allow them to pull images.
To grant a user permission to pull images:
Log in to the MKE web UI as an administrator.
Navigate to Access Control > Roles.
Select the Swarm tab and click Create.
On the Details tab, enter
Pull imagesfor the role name.
On the Operations tab, select Image Create from the IMAGE OPERATIONS drop-down.
Navigate to Access Control > Grants.
Select the Swarm tab and click Create Grant.
Under Subject, click Users and select the required user from the drop-down.
Under Resource Set, select the Swarm collection and click Next.
Under Role, select Pull images from the drop-down.