From 8282f27164a16dfc5627863d04aba16694cfa3d2 Mon Sep 17 00:00:00 2001 From: Fatih Solen <50904951+fsolen@users.noreply.github.com> Date: Tue, 7 Mar 2023 18:27:02 +0300 Subject: [PATCH] Update README.md oc adm command fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2fa9270..960ff7f 100644 --- a/README.md +++ b/README.md @@ -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.