-
The new image, lets call it: temp_image doesn't exist yet.
|
Beta Was this translation helpful? Give feedback.
Answered by
sshnaidm
May 4, 2024
Replies: 1 comment
-
Please provide - name: Build Temp image
containers.podman.podman_image:
name: "temp_image"
path: /tmp/
build:
file: /tmp/Containerfile
state: build You can see examples in the module docs: https://docs.ansible.com/ansible/latest/collections/containers/podman/podman_image_module.html#examples |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sshnaidm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please provide
path
of build context directory, like you do for Podman:podman build /path/to/dir -f Containerfile
.You can see examples in the module docs: https://docs.ansible.com/ansible/latest/collections/containers/podman/podman_image_module.html#examples