-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Associated GitHub Community ticket: https://github.community/t/does-service-containers-only-work-with-ubuntu-latest/133246
We can see the following description from the docs (see here and here):
Note: If your workflows use Docker container actions or service containers, then you must use a Linux runner:
- If you are using GitHub-hosted runners, you must use the ubuntu-latest runner.
- If you are using self-hosted runners, you must use a Linux machine as your runner and Docker must be installed.
However, according to our test with ubuntu-20.04
, ubuntu-latest
(ubuntu-18.04
), and ubuntu-16.04
, all of them can run Docker container actions and service containers.
Looks like, the description
If you are using GitHub-hosted runners, you must use the ubuntu-latest runner.
is not accurate, and causing misunderstanding.
It should express clearly that all the GitHub-hosted Linux runners can run Docker container actions, service containers and job containers.