<p>This thread shows multiple containers can be created using YAML configuration, creating one Pod with multiple containers inside: <a href="https://stackoverflow.com/questions/67082250/create-a-pod-with-a-single-app-container-with-multiple-images-in-kubernetes-clus">Create a pod with a single app container with multiple images in kubernetes cluster</a></p>
<p>Does the <code>oc new-app</code> have this functionality too? Are there any any other CLI oc tools which would allow this function?</p>

solarflare
<p>So it seems that <code>oc new-app</code> does not let you create a Pod with multiple container images as far as I can see.</p>
<p>User &quot;bodo&quot; above had the right idea I think. You can use the following command to generate the YAML file and then edit that YAML to add more containers to the Pod:</p>
<pre><code>oc new-app --name my-application --docker-image=example.com/repository/myimage:latest --dry-run=true -o yaml
</code></pre>
