© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
C. Chandrasekara, P. HerathHands-on GitHub Actionshttps://doi.org/10.1007/978-1-4842-6464-5_8

8. Service Containers

Chaminda Chandrasekara1   and Pushpa Herath2
(1)
Dedigamuwa, Sri Lanka
(2)
Hanguranketha, Sri Lanka
 

GitHub service containers are essentially Docker containers created for the lifetime of a workflow job. You can host services to test or operate applications in a workflow using service containers.

Service containers are created for a job and destroyed once the job is done. Each job step can communicate with the services available in service containers within a job.

Let’s explore service containers to better understand their usage and features.

Service ...

Get Hands-on GitHub Actions: Implement CI/CD with GitHub Action Workflows for Your Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.