Oc exec

From NovaOrdis Knowledge Base
Revision as of 18:15, 21 November 2017 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

Execute a command in a container.

Example - execute an interactive shell into the container:

oc exec <pod-name> -i -t /bin/bash

Also see oc rsh.