Skip to content

Commit

Permalink
docs: update the containerfile for quadlet (#159)
Browse files Browse the repository at this point in the history
### What does this PR do?

Using "pull" no longer works and requires a custom storage.conf

Instead, just remove the "pull" part as the OS will automatically try
and pull the image anyways on boot if it's not available.

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

N/A

### How to test this PR?

<!-- Please explain steps to reproduce -->

N/A

Signed-off-by: Charlie Drage <[email protected]>
  • Loading branch information
cdrage authored Feb 21, 2024
1 parent 89957e4 commit 11fde12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions docs/containerfile_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@ There are other non-official tools such as [podlet](https://github.com/k9withabo
```Dockerfile
FROM quay.io/centos-bootc/fedora-bootc:eln

# Pull the container
# we specify /usr/lib/containers/storage as the root because we are running
# podman in a container and we want to use the host's storage
RUN podman --root=/usr/lib/containers/storage pull quay.io/bootc-extension/helloworld

# Add the podman quadlet systemd service
ADD helloworld.container /usr/share/containers/systemd/helloworld.container

Expand Down
5 changes: 0 additions & 5 deletions examples/bootc-helloworld-quadlet-container/Containerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
FROM quay.io/centos-bootc/fedora-bootc:eln

# Pull the container
# we specify /usr/lib/containers/storage as the root because we are running
# podman in a container and we want to use the host's storage
RUN podman --root=/usr/lib/containers/storage pull quay.io/bootc-extension/helloworld

# Add the podman quadlet systemd service
ADD helloworld.container /usr/share/containers/systemd/helloworld.container

Expand Down

0 comments on commit 11fde12

Please sign in to comment.