Skip to content

Commit

Permalink
getting closer to podman setup
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Feb 23, 2024
1 parent 87f8d71 commit 83bf04c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN apt-get -yqq update && \
apt-get -yqq --no-install-recommends install \
zsh sudo rsync dnsutils supervisor curl wget iproute2 \
apt-transport-https ca-certificates software-properties-common gpgv2 gpg-agent \
podman && \
podman aardvark-dns && \
#
# install binaries and service files
# eg: /usr/bin/nomad $NOMAD_HCL /usr/lib/systemd/system/nomad.service
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ 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
podman run --net=host --privileged -v /var/lib/containers:/var/lib/containers \
sudo podman run --net=host --privileged -v /var/lib/containers:/var/lib/containers --cgroupns=host \
-e FQDN=$(hostname -f) -e HOST_UNAME=$(uname) \
--rm --name hind --pull=always ghcr.io/internetarchive/hind:podman
# xxx :main
Expand Down
8 changes: 8 additions & 0 deletions etc/nomad.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ plugin "docker" {
}
}

plugin "podman" {
config {
volumes {
enabled = true
}
}
}

plugin "raw_exec" {
config {
enabled = true
Expand Down

0 comments on commit 83bf04c

Please sign in to comment.