Find the pid of container processsudo crictl inspect CONTAINER_ID | grep -i "pid" | awk '{print $2}'
Use nsenter to enter container as rootsudo nsenter -t CONTAINER_PID -m -u -i -n -p -- su - root
Find the pid of container processsudo crictl inspect CONTAINER_ID | grep -i "pid" | awk '{print $2}'
Use nsenter to enter container as rootsudo nsenter -t CONTAINER_PID -m -u -i -n -p -- su - root