A GitHub Action to set up Docker on GitHub-hosted runners for Linux, macOS, or Windows.
- All GitHub-hosted Linux runners, including
ubuntu-latest
, have Docker installed and configured already. On Linux, this action has no effect. - GitHub's macOS and Windows runners do not have Docker installed or fully configured. On these platforms, we install Podman as the backend.
- On macOS, this works only on the Intel-based runner,
macos-13
. It does not work on Apple Silicon runners (macos-14
,macos-15
) because nested virtualization does not work. - On Windows, this works on
windows-2022
,windows-2025
, andwindows-latest
, but not onwindows-2019
.