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

Can't use container syntax #42

Closed
tabossert opened this issue Jul 16, 2020 · 5 comments
Closed

Can't use container syntax #42

tabossert opened this issue Jul 16, 2020 · 5 comments

Comments

@tabossert
Copy link

Do you know if it's possible to get around this error currently

"Container feature is not supported when runner is already running inside container."

Thanks

@myoung34
Copy link
Owner

How are you seeing this? Without reproducing it, I'm not sure

@tabossert
Copy link
Author

Running a workflow that contains this in workflow

https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontainer

ends up with

Screen Shot 2020-07-16 at 4 01 20 PM

@myoung34
Copy link
Owner

myoung34 commented Jul 17, 2020

Have you tried this? actions/runner#383

Otherwise im not sure you can do it without opening up a ticket on actions/runner according to: https://github.com/actions/runner/blob/f9b5d626c5486d1f02b3bd45879f61834b7aeecc/src/Runner.Worker/ContainerOperationProvider.cs#L68

If there's no option to disable it, then it wont work as long as /proc/1/cgroup contains :/docker/ according to that code

@tabossert
Copy link
Author

I had not, thanks for sharing, I will try it and let you know

@myoung34
Copy link
Owner

Ill close for now, if you come up with anything re-open and we'll circle back

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

No branches or pull requests

2 participants