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

docs: refactored _Troubleshooting Podman on macOS_ #3207

Closed
wants to merge 3 commits into from
Closed

docs: refactored _Troubleshooting Podman on macOS_ #3207

wants to merge 3 commits into from

Conversation

themr0c
Copy link
Contributor

@themr0c themr0c commented Jul 13, 2023

What does this PR do?

Refactored Troubleshooting Podman on macOS.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

refs #3045

How to test this PR?

@themr0c themr0c requested review from a team, slemeur and benoitf as code owners July 13, 2023 12:27
@themr0c themr0c requested review from jeffmaury and lstocchi and removed request for a team July 13, 2023 12:27
@themr0c themr0c enabled auto-merge (squash) July 13, 2023 12:56
Copy link
Collaborator

@benoitf benoitf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refactoring should not remove important steps

Comment on lines -9 to -29
#### Issue

When setting a custom binary path (under Preferences -> Custom binary path), Podman is unable to find `gvproxy` and `podman-mac-helper`:

```sh
Error: unable to start host networking: "could not find \"gvproxy\" in one of [/usr/local/opt/podman/libexec /opt/homebrew/bin /opt/homebrew/opt/podman/libexec /usr/local/bin /usr/local/libexec/podman /usr/local/lib/podman /usr/libexec/podman /usr/lib/podman $BINDIR/../libexec/podman]. To resolve this error, set the helper_binaries_dir key in the `[engine]` section of containers.conf to the directory containing your helper binaries."
```

#### Solution

1. Download `gvproxy` from the [gvisor-tap-vsock release page](https://github.com/containers/gvisor-tap-vsock/releases).
2. Build the `podman-mac-helper` from the source code on the [Podman GitHub page](https://github.com/containers/podman/tree/main/cmd/podman-mac-helper).
3. Add the `helpers_binaries_dir` entry to `~/.config/containers/conf`:

```sh
[containers]

helper_binaries_dir=["/Users/user/example_directory"]
```

**NOTE**: A pre-built binary will be added to the Podman release page so you do not have to build `podman-mac-helper`. An [issue is open for this](https://github.com/containers/podman/issues/16746).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be still an issue if you select a custom binary path for Podman (not the main use case but it can happen)
so probably keep it

Comment on lines -35 to -37
Despite having Podman Engine installed, you might receive an error as follows -
`Error: No such keg: /usr/local/Cellar/podman`
or any similar error denoting that Podman Engine does not exist.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where did it go ?

it's the error message that people could see (and browser engine can parse) to come to this page

@themr0c themr0c disabled auto-merge July 18, 2023 13:37
@themr0c
Copy link
Contributor Author

themr0c commented Jul 18, 2023

Too complex to modify using the Android app. It will have to wait. For clarity you could convert to draft.

@benoitf benoitf marked this pull request as draft July 18, 2023 13:44
@benoitf
Copy link
Collaborator

benoitf commented Jul 18, 2023

@themr0c ok, switched to draft as you requested

@themr0c themr0c closed this Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants