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

but when deploying got error enter image description 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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -