← Back to issue list

Snapcraft should detect being run inside multipass and error

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1803708
Type
issue
State
open
Author
~ev
Labels
Created
2018-11-16 13:24:00.075051+00:00
Updated
2018-11-16 19:39:17.894500+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Some users will install multipass and mistakenly run snapcraft inside of it, thinking that's why multipass was installed as a snapcraft dependency. We should error out when the outer snapcraft (frontend) detects that it is running in multipass, with a message like: """ It looks like you are trying to run snapcraft inside a multipass VM. Instead, please exit your multipass VM and run snapcraft on your native system. """

Evaluation history

No evaluation history available.