Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update examples to work with podman on macos #368

Closed
wants to merge 3 commits into from

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Sep 7, 2023

Testing out the examples on MacOS with Podman, over Docker compose

brew install podman
podman machine init
podman machine start
export DOCKER_HOST='unix:///Users/yousaf.nabi/.local/share/containers/podman/machine/qemu/podman.sock'
make examples

Notes

  • Unable to bind to ports <1024
    • Updated to 9292 and updated all examples and unit test to reflect
    • Can be used with podman machine --allow-rootful
  • Links in docker-compose.yml not valid
  • host.docker.internal workaround not required
  • nginx config isn't used in tests, can be commented out from docker-compose.yml and all examples pass
  • target_platform check is still required, need consideration for how to support both podman and docker users on MacOS.

@YOU54F
Copy link
Member Author

YOU54F commented Sep 8, 2023

No longer required, was using to help get @JP-Ellis setup locally

@YOU54F YOU54F closed this Sep 8, 2023
@JP-Ellis JP-Ellis deleted the chore/podman_macos branch September 27, 2023 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant