-
Notifications
You must be signed in to change notification settings - Fork 296
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
Conversation
Signed-off-by: Fabrice Flore-Thébault <[email protected]>
There was a problem hiding this 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
#### 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). |
There was a problem hiding this comment.
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
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. |
There was a problem hiding this comment.
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
Too complex to modify using the Android app. It will have to wait. For clarity you could convert to draft. |
@themr0c ok, switched to draft as you requested |
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?