Skip to content

joe0BAB/desktop-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

desktop-action

Github Action to start Docker Desktop.

This github action is experimental. It currently supports starting Docker Desktop on large-runner "linux" nodes in Github Actions.

Important: it seems that since mid September 2023, the action inconsistently fails on macOs runner. We have updated the action to use linux runners. However, since virtualisation is required for Docker Desktop to start, you must be sure that the runner as it enabled. Large-runners have it from February 2023.

Note that the usage of Docker Desktop is subject to Docker Desktop license agreement.

In your GitHub Action workflow, you must use a GitHub large-runner with virtualization enabled, and then you can add a step:

  steps:
      - id: start_desktop
        uses: docker/desktop-action/start@v0.2.0

After this step executes, Docker Desktop is ready and available, the docker CLI can be executed in subsequent "run" steps

About

Docker Desktop action

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published