Run commands inside a container – OpenShift
This is if you work on a windows machine. Some values below are examples/fakes.
- Browse to: https://oauth-openshift.apps.dev.example.org/oauth/token/request
- Copy the login command:
oc login --token=sha123~********************** --server=https://api.dev.example.org:1234
- Open the command prompt and paste the command above
oc project your-project
oc get pod
oc rsh the-pod-name-from-above
- eg.
openssl s_client -connect example.org:636
Leave a Comment