-
Notifications
You must be signed in to change notification settings - Fork 17
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
Linux Support #71
Comments
Hi @philipnewcomer , I'm working on setting this up on Linux Mint 18.1. I'll let you know how it goes and if I needed to do anything strange to get it to work. |
Just documenting a couple of things I'm working on troubleshooting: When running
I haven't determined what's causing this yet. When running
Something I read last night was saying that the docker user for the container isn't in the same group as the docker user that created the docker container, but I didn't have a lot of time to look into that yet. |
Hi @philipnewcomer , Looks like the first issue I had (the |
@Faison thanks for tackling this issue. You are correct that the error about the Regarding the file permissions error, only certain directories from the host can be bind mounted into the Docker containers. On macOS, |
@philipnewcomer Thank you for the direction on the file permissions error, I'll look to see if there's a directory that just works for Linux. As for the directory
I also pointed pilothouse to another directory further in my home directory, but without any success. Could you add a screenshot of what the directory whitelist in the Docker for Mac settings look like? Might give me a good idea of what I need to look for. Related to this, I was setting up another project that uses docker with docker-machine. In that, I had to do some fancy stuff where I map a directory on my host machine to |
@Faison here's the screenshot of the Docker sharing settings on macOS: |
@philipnewcomer So it looks like there's a fancy directory sharing feature specific for OSX, which is likely why this just works for Mac and not for Linux. I tried a bunch of stuff with no luck. But I did another search and found that 10up dealt with the issue on Linux in a few months ago: 10up/wp-local-docker-images@d51e31d I'm going to work on seeing if I can adapt those changes into pilothouse and get it working on my computer. |
@philipnewcomer So I determined the issue. I was trying to run pilothouse in a directory that is a part of a mounted drive. Turns out docker on linux would do shared drives properly if the directory is in a mounted drive. Unfortunately, pilothouse still failed in a normal directory, but the 10up docker thing worked. It might be related to using alpine as the base image. |
Need to test Pilothouse on Linux systems and resolve any incompatibilities, after converting PH to NodeJS (#68).
The text was updated successfully, but these errors were encountered: