Skip to content

Instantly share code, notes, and snippets.

@00willo
Created July 11, 2022 22:56
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 00willo/32a800735d9bcbdf5ef8f00ec17db91a to your computer and use it in GitHub Desktop.
Save 00willo/32a800735d9bcbdf5ef8f00ec17db91a to your computer and use it in GitHub Desktop.
podman-compose example
On build machine
podman-compose build
# make sure you have the name set for the context to in this case "my-misp"
# but the image can be set to "my.internal.registry/my-misp"
podman image ls
podman tag localhost/my-misp:latest my.internal.registry/my-misp:latest
podman push my.internal.registry/my-misp:latest
On other machine
podman-compose
# it will pull image from my.internal.registry/my-misp:latest because your compose file specifes that.
# but here if you did a compose build here, it'll create a localhost/my-misp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment