How to reduce time cost of initializing containers?

Here is my action progress.

You can see the time of initializing containers is very long.

On circle CI, the time is about 30 seconds. However in github actions, it costs twice.

How to reduce the time cost? (i.e. local Docker image, caching image, …)


Generally, the “Initialize containers” step mainly does the following things:

  • Pull the images (docker pull) with the specified tags to the runner machine.
  • Create the containers (docker create) and setup the required environments.
  • Startup the containers (docker start).

The “Initialize containers” step is automatically generated by GitHub Actions, and we have no methods to reduce the time it takes.

1 Like

Thanks :slight_smile: