To access a container in a pod that includes multiple containers: Run the following command using the pod name of the container that you want to access: oc describe pods pod_name. ... To access one of the containers in the pod, enter the following command: oc exec -it pod_name -c container_name bash.