Skip to content

Commit 8282f27

Browse files
fsolenvrutkovs
authored andcommitted
Update README.md
oc adm command fix
1 parent b2ac768 commit 8282f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Many containers expect to run as root (and therefore edit all the contents of th
121121
If you are running your own cluster and want to run a container as root, you can grant that permission to the containers in your current project with the following command:
122122

123123
# Gives the default service account in the current project access to run as UID 0 (root)
124-
oc adm add-scc-to-user anyuid -z default
124+
oc adm policy add-scc-to-user anyuid -z default
125125

126126
See the [security documentation](https://docs.okd.io/latest/authentication/managing-security-context-constraints.html) more on confining applications.
127127

0 commit comments

Comments
 (0)