Skip to content

Commit

Permalink
README: add --pull=newer
Browse files Browse the repository at this point in the history
To make sure Podman is updating the image if a newer one is on the
registry.  The image doesn't specify a tag, so Podman should defailt to
`:latest` which should imply `--pull=newer`.

I will take a look whether there's a Podman bug.

Signed-off-by: Valentin Rothberg <[email protected]>
  • Loading branch information
vrothberg authored and ondrejbudai committed Dec 5, 2023
1 parent 8ebbdc6 commit 6d671b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ A simpler container for deploying bootable container images.

```
mkdir output
sudo podman run --rm -it --privileged --security-opt label=type:unconfined_t -v $(pwd)/output:/output ghcr.io/osbuild/bootc-image-builder quay.io/centos-boot/fedora-tier-1:eln
sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v $(pwd)/output:/output ghcr.io/osbuild/bootc-image-builder quay.io/centos-boot/fedora-tier-1:eln
qemu-system-x86_64 -M accel=kvm -cpu host -smp 2 -m 4096 -bios /usr/share/OVMF/OVMF_CODE.fd -snapshot output/qcow2/disk.qcow2
```

Expand Down

0 comments on commit 6d671b7

Please sign in to comment.