-
Notifications
You must be signed in to change notification settings - Fork 471
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
dgoss doesn't work on MacOS because of private /tmp
#624
Comments
This seems like a duplicate of #329. Also, I wonder if it's related to the following:
I wonder if there's a way for dgoss to detect this. |
Regarding way to detect.. You can try to check the goss presence (or execution result) with |
I'll keep this ticket open to implement the detection. I think it should error and fail and allow the user to decide to use Thanks! |
Describe the bug
It seems
dgoss
doesn't work on MacOS because/tmp
is private (I guess). I.e. docker cannot see files created by user.How To Reproduce
Install current dgoss & goss on MacOS as described in documentation and try
dgoss edit alpine sleep 1000
e.g. You may see there is nogoss
binary copied into container. See Actual Behavior for example.Expected Behavior
It's expected to have
/goss/goss
binary in docker container.Actual Behavior
Environment:
How to fix
I fixed it for myself by applying the following change. Actually I'm just using
~/tmp
instead of/tmp
. I'm not sure it's good solution for everyone though.. I'd prefer to be able to override it via environment variable.The text was updated successfully, but these errors were encountered: