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

oras installed from snap cannot access config file and credential store/helpers #1117

Closed
1 task
qweeah opened this issue Sep 12, 2023 · 2 comments
Closed
1 task
Assignees
Labels
bug Something isn't working
Milestone

Comments

@qweeah
Copy link
Contributor

qweeah commented Sep 12, 2023

What happened in your environment?

As is discussed in #1079, oras CLI installed from snap will be run in a snap sandbox, which have limited access to docker config file in the home directory and other cred store/helper binaries.

What did you expect to happen?

oras on snap should disable strict confinement and user should use classic snap install to avoid above limitation.

How can we reproduce it?

See #1079

What is the version of your ORAS CLI?

1.0.0 installed from snap

What is your OS environment?

20.04

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.
@qweeah qweeah added the bug Something isn't working label Sep 12, 2023
@qweeah qweeah added this to the v1.2.0 milestone Sep 12, 2023
@qweeah
Copy link
Contributor Author

qweeah commented Sep 14, 2023

I have automated the build and publishing process in my own fork but found that the publishing is rejected by Snapcraft because the classic confinement is not granted by default. Following their instructions, I raise a discussion in the forum to ask to an exception, see https://forum.snapcraft.io/t/request-for-classic-confinement-oras-and-oras-test/36826

@qweeah
Copy link
Contributor Author

qweeah commented Jan 30, 2024

Closing this issue as the classic confinement request is already approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant