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

Issue building #6

Open
htbase opened this issue Dec 10, 2018 · 3 comments
Open

Issue building #6

htbase opened this issue Dec 10, 2018 · 3 comments

Comments

@htbase
Copy link

htbase commented Dec 10, 2018

Hi there

When trying to build, I always receive this message

lxdfile: lxc: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

Any idea what is happening? the lxdfile is in the same directory

@hverr
Copy link
Owner

hverr commented Dec 11, 2018

You should make sure lxc and lxd are installed and present in your path.

However, the master branch (which uses lxd and lxc executables) is not up to date with the current lxc and lxd implementation.

I suggest using the branch lxd-client branch, however, that one is buggy as well. Unfortunately, I currently don’t have time to update this library.

@htbase
Copy link
Author

htbase commented Dec 13, 2018

Thank you!

I noticed that for it to work, the base image has to be already local in the server.

We use different image servers for the containers. Is there a way that we can, in the code, insert the image server name so when the "lxd launch" command is executed to build the image, it will pull the image from our server all together?

So we dont need to have the base image in the local server before

Thanks again

@hverr
Copy link
Owner

hverr commented Dec 14, 2018

You should indeed adapt the code for this. A simple pull of the image before building (based on the contents of the FROM line) should work!

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

No branches or pull requests

2 participants