jonasalfredsson/Docker on tmpfs

Updates the runner's swap space, mounts a tmpfs on /var/lib/docker and restarts the daemon.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 5, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: jonasalfredsson/docker-on-tmpfs@55e939ef196646234a12c245e3414879e3580f01 # v2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tmpfs_sizeSize of the tmpfs mount to be used (in gigabytes)no5
swap_sizeSize of the new swap space (in gigabytes)no3
swap_locationPath to the new swap fileno/swapfile

no outputs