Getting error "docker: command not found" while setting up job #158604
Replies: 3 comments 1 reply
-
|
You're encountering the error because your self-hosted runner does not have Docker installed, but you're using the ✅ Solution: Install Docker on the Self-Hosted RunnerIf you're using Fedora, run the following commands on the runner machine: sudo dnf install -y docker
sudo systemctl enable --now docker
sudo usermod -aG docker $USERThen log out and log back in, or restart the runner service to apply the group change. 🛠️ Alternative: Remove the
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @SohanTirpude, Thanks for the update! While aliasing 🔧 Alternative Approaches:
|
Beta Was this translation helpful? Give feedback.
-
|
Hello @brudnak, Thanks for the reply and much valuable information. It seems that with podman I can't run the action. Sad! I didn't know that the Anyway, thanks again for the support and info. Thank you. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hello all,
I am trying to run job in container in self-hosted runner but while doing so I am getting "docker: command not found" error while setting up job.
This is content of my workflow yaml file
And this is the complete output of workflow:
Can anyone help me out in fixing this issue?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions