Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
oc adm command fix
  • Loading branch information
fsolen authored and vrutkovs committed Mar 7, 2023
1 parent b2ac768 commit 8282f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Many containers expect to run as root (and therefore edit all the contents of th
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:

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

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

Expand Down

0 comments on commit 8282f27

Please sign in to comment.