Skip to content

Instantly share code, notes, and snippets.

@SevereOverfl0w
Created May 1, 2020 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SevereOverfl0w/2d131e1dce3dfca0b0ab5c875ef42403 to your computer and use it in GitHub Desktop.
Save SevereOverfl0w/2d131e1dce3dfca0b0ab5c875ef42403 to your computer and use it in GitHub Desktop.
Using pack to create an Edge docker image run through Podman

Instructions for Podman, Pack & tar images (in Edge)

Create tar image at a/foo.tar
clojure -A:user/pack  -m mach.pack.alpha.jib --image-type tar -A:prod -m edge.main --tar-file a/foo.tar --image-name foocorp
Load tar into Podman
podman load -i a/foo.tar
Run your newly created image
podman run --rm -p3800 localhost/foocorp

When you’re done, hit Ctrl-C and it’ll go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment