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

Allow snapcraft to use remote lxd instances. #4454

Open
jat-canonical opened this issue Nov 21, 2023 · 2 comments
Open

Allow snapcraft to use remote lxd instances. #4454

jat-canonical opened this issue Nov 21, 2023 · 2 comments
Labels
enhancement New features or optimizations

Comments

@jat-canonical
Copy link

What needs to get done

Since snap builds only require a linux system container (LXD Container), could we look into making use of a remote LXD instance and relying on locally configured lxc configuration to reach out to the LXD instance to build snaps?

Why it needs to get done

I use a mac for my local development and run a remote lxd instance which can be reached using lxc to interact with the instance. Currently snapcraft looks for a local installation of lxd which is not possible on a mac. My current workaround is to to have dedicated linux vm for building snaps, have my local directory mounted in the vm and always login to the instance first to start building the snap.
This might prove useful for any user not running linux as a daily driver host os but trying to develop snaps.

@mr-cal
Copy link
Collaborator

mr-cal commented Feb 27, 2024

Follow up: I added a response in canonical/craft-providers#508

Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2554.

This message was autogenerated

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

No branches or pull requests

2 participants