Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docker to github user #11

Closed
wants to merge 15 commits into from
Closed

add docker to github user #11

wants to merge 15 commits into from

Conversation

lielran
Copy link

@lielran lielran commented Dec 30, 2020

No description provided.

@machulav
Copy link
Owner

machulav commented Jan 6, 2021

@lielran, thank you for your PR! It really makes sense here as I also recently noticed that the Docker container actions don't run on the self-hosted runner as Docker is not installed there by default.

Let me test your PR first and I will let you know.

@lielran
Copy link
Author

lielran commented Jan 6, 2021

close this for now since it wasn't working for me :/

@lielran lielran closed this Jan 6, 2021
@machulav
Copy link
Owner

machulav commented Jan 6, 2021

@lielran Can you please specify what exactly doesn't work for you?

@lielran
Copy link
Author

lielran commented Jan 6, 2021

@lielran Can you please specify what exactly doesn't work for you?

yes, sure.

I've tried multiple ways to install docker and use it within the runner.
first via the step - require sudo
then via user-input(run as root on the machine startup) - this works, I was able to install docker and add github user to the docker group, but I failed to use a docker step. probably because the machine needs to be restart after the installation(a normal reconnect ssh session usually solved that).

I created a custom image (base on amazon linux v2) with docker installed but end up with the same issues when trying to run docker info

@machulav
Copy link
Owner

machulav commented Jan 7, 2021

Thank you for the helpful information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants