Skip to content

Commit

Permalink
podman getting closer
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Feb 23, 2024
1 parent 83bf04c commit cee0ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ This will "bootstrap" your cluster with a private, unique `NOMAD_TOKEN`,
and `podman run` a new container with the hind service into the background.

```bash
sudo mkdir -p -m777 /pv/CERTS
sudo podman run --net=host --privileged -v /var/lib/containers:/var/lib/containers --cgroupns=host \
-e FQDN=$(hostname -f) -e HOST_UNAME=$(uname) \
-v /pv/CERTS:/pv/CERTS \
--rm --name hind --pull=always ghcr.io/internetarchive/hind:podman
# xxx :main
```
Expand Down
2 changes: 1 addition & 1 deletion bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ ! -e $CONFIG ]; then
else
ARGS+=(--net=host)
fi
podman run $ARGS --privileged -v /var/lib/containers:/var/lib/containers --restart=unless-stopped --name hindup -v /pv/CERTS:/root/.local/share/caddy -d hind > /dev/null
podman run $ARGS --privileged -v /var/lib/containers:/var/lib/containers --cgroupns=host --restart=unless-stopped --name hindup -v /pv/CERTS:/root/.local/share/caddy -d hind > /dev/null


if [ ! $FIRST ]; then
Expand Down

0 comments on commit cee0ac6

Please sign in to comment.