Created
July 11, 2022 22:56
-
-
Save 00willo/32a800735d9bcbdf5ef8f00ec17db91a to your computer and use it in GitHub Desktop.
podman-compose example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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