Skip to content

Service cannot be resolved by step task #2922

Closed Answered by maxxer
maxxer asked this question in Q&A
Discussion options

You must be logged in to vote

RTFM'ing myself. From docs:

Running jobs on the runner machine
When running jobs directly on the runner machine, you can access service containers using localhost: or 127.0.0.1:. GitHub configures the container network to enable communication from the service container to the Docker host.

When a job runs directly on a runner machine, the service running in the Docker container does not expose its ports to the job on the runner by default. You need to map ports on the service container to the Docker host. For more information, see "About service containers."

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maxxer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant