Support podman in macOS

With [a fix][1] in [podman v3.4.3][2], these commands now work as
expected in macOS. Potentially, it might make sense to version check
podman to ensure that the minimum version is met, but I'm not sure
that's needed because it's unlikely that people have an older version
installed _and_ wish to use this tool.

I'm unsure whether the commands work on Windows so I left the
unsupported version there compiling with the negation of the supported
flags.

[1]: https://github.com/containers/podman/issues/12402
[2]: 4ba71f955a/RELEASE_NOTES.md (bugfixes-2)
This commit is contained in:
Michael Herold 2022-03-31 10:10:55 -05:00
parent c7d121b3d7
commit 7dfef036c7
No known key found for this signature in database
GPG Key ID: E3623596598FB3E6
4 changed files with 5 additions and 3 deletions

@ -1,4 +1,4 @@
// +build linux
// +build linux darwin
package podman

@ -1,4 +1,4 @@
// +build linux
// +build linux darwin
package podman

@ -1,3 +1,5 @@
// +build linux darwin
package podman
import (

@ -1,4 +1,4 @@
// +build !linux
// +build !linux,!darwin
package podman