When using the podman play kube command, containers launch with /bin/bash instead of the specified command defined in the YAML file

Solution Verified - Updated -

Issue

  • When using the podman play kube command, containers launch with /bin/bash as their command, instead of the specified command defined in the Kubernetes or OpenShift YAML file.

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat CoreOS
  • podman-1.4.2-6.module+el8.1.0+4830+f49150d7.x86_64 or below

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content