spiegel_podman/pkg/machine/shim
Brent Baude 4eeaedfe13 Prevent two podman machines running on darwin
As issue #25112 points out, it was possible to start a machine on one of the darwin providers and then switch providers and start another one with a different name.  This PR firstly prevents that use which is a forbidden use case.

Secondarily, performed some minor cleanup on the error messages being used so that the error would be specific to this condition.

This bug fix is for darwin only.  In the case of Windows, we probably need to answer the question I raised in #24067 first, which is whether we want to stop allowing WSL to run multiple machines.

Fixes #25112

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-01-29 13:24:18 -06:00
..
diskpull Clean machine pull cache 2024-04-26 12:31:42 -04:00
claim_darwin.go Implement generic providers 2024-02-07 09:18:38 -06:00
claim_unsupported.go Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
host.go Prevent two podman machines running on darwin 2025-01-29 13:24:18 -06:00
networking.go machine: Always use --log-file with gvproxy 2024-06-28 16:05:21 +02:00
networking_unix.go Change API socket to be machine name isolated 2024-03-13 13:28:14 -05:00
networking_windows.go Implement publishing API UNIX socket on Windows platforms 2024-08-31 17:27:05 +03:00
volume.go Implement disable default mounts via command line 2024-07-15 15:27:19 +03:00