Failed to deploy Artifactory OSS image in Openshift Online 3 Starter by error "Creating user artifactory failed" -
i'm trying setup artifactory on openshift online 3 starter using docker image docker.bintray.io/jfrog/artifactory-oss:latestfrom here
i tried create artifactory user command oc create serviceaccount artifactory , oc adm policy add-scc-to-user anyuid -z artifactory has error:
error server (forbidden): user "xxxx" cannot securitycontextconstraints @ cluster scope
you need cluster admin in order able run:
oc adm policy add-scc-to-user anyuid -z artifactory this because granting right run things user id, including root. normal user aren't allowed do.
further, in openshift online can run things in user id range assigned. cannot override that, nor granted additional privileges.
you need find version of image doesn't require run root , can run arbitrary user id.

Comments
Post a Comment