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

Container Exporter: Fail fast if using Docker, but without proper permissions #7694

Open
christophermaier opened this issue May 18, 2020 · 2 comments

Comments

@christophermaier
Copy link
Contributor

christophermaier commented May 18, 2020

When exporting a container image using Docker, the current exporter does a lot of work (e.g., downloading all the packages needed and setting up a build context) before we even attempt to interact with Docker. As a result, it can take a while before you realize that you don't actually have permission to run Docker (because you're not in the docker group, or because you forgot to run under sudo).

Ideally, when using Docker, the exporter would make a quick test before doing anything else to ensure that it will be able to actually make the container image.

Aha! Link: https://chef.aha.io/features/APPDL-115

@stale
Copy link

stale bot commented May 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale
Copy link

stale bot commented Jun 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants