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

[BUG] Create ILLA Builder error: Docker responded with status code 400: invalid mount #57

Closed
Lan-Phan opened this issue Jan 11, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@Lan-Phan
Copy link

Describe the bug
Screen Shot 2023-01-11 at 1 40 26 PM

To Reproduce
Steps to reproduce the behavior:

  1. Install Rust via Homebrew
  2. Install illa cli tool via cargo: cargo install illa
  3. Run command: illa deploy --self
  4. See an error above

Expected behavior
ILLA Builder is deployed ok

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Macbook Pro, M1
  • OS: Mac OS 12.4
  • Browser: Chrome
  • Version illa cli: 1.26

Additional context

  • Rust 1.66
  • Run Docker via Colima
  • Docker version 20.10.16
  • Colima version 0.5.2
@Lan-Phan Lan-Phan added the bug Something isn't working label Jan 11, 2023
@karminski
Copy link
Contributor

@Lan-Phan Hi, the Colima with Docker is an untested environment for illa and we haven't tried it. Please try Docker Desktop.

And we found the issue (abiosoft/colima#503), Does the Colima have the mount issue?

@Lan-Phan
Copy link
Author

Hi @karminski ,

Thanks for your info. Let I dig more into Colima ...
In the meantime, would you please show me the path which is used in mount volume when running illa deploy command?

Thanks.

@Lan-Phan
Copy link
Author

I confirm this issue is from Colima.

Here are steps I did to make it work:

It's better if I can change /tmp/illa-data to other path in HOME folder, do you have plan to support it?

@karminski
Copy link
Contributor

@Lan-Phan Great works! Your posts help a lot.

We can make the mount location configurable. I will reply to this issue once it is completed.

@naj1n
Copy link
Contributor

naj1n commented Jan 28, 2023

@Lan-Phan thanks for your issue. It will lead to some active work on the configurable mount path.

naj1n added a commit that referenced this issue Feb 16, 2023
@naj1n
Copy link
Contributor

naj1n commented Feb 16, 2023

@Lan-Phan Now, you can make the mount location configurable with --mount flag of subcommand deploy. It's available in the new version v1.2.8.

@Lan-Phan
Copy link
Author

  • upgrade illa to v1.2.8
  • Run:
colima start --mount-type virtiofs --vm-type=vz
illa deploy --self --mount ~/illa-data

It works like a charm now, thank @naj1n , close this.

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
None yet
Development

No branches or pull requests

3 participants