You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will build the mykubefiles/foobar/Containerfile container with the foobar context and start a pod with the image just built, and would allow to directly use podman to start the application.
Why is this needed?
This would be interesting to have the resources yaml definition where we can remove the compose file, since we have an equivalent (in some maner, the build do not have much option (yet?) )
What would you like to be added?
Podman has a special format1 to be able to build a container while defining a pod yaml, here is an example
With the following folder structure
myplayfile.yaml
if you run (on linux)
This will build the
mykubefiles/foobar/Containerfile
container with thefoobar
context and start a pod with the image just built, and would allow to directly use podman to start the application.Why is this needed?
This would be interesting to have the resources yaml definition where we can remove the compose file, since we have an equivalent (in some maner, the build do not have much option (yet?) )
Footnotes
https://docs.podman.io/en/stable/markdown/podman-kube-play.1.html ↩
The text was updated successfully, but these errors were encountered: