-
Notifications
You must be signed in to change notification settings - Fork 475
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
Missing documentation #8
Comments
Installing Docker is outside the scope of this project, but here's what I did:
The fact that you get a "Is a directory" error means that the file |
You installed On Ubuntu the package that contains Personally, instead of the old And (The packages bundled with the distro tends to be a bit older and only allow old
When working with docker volume mounts, an "Is a directory" error usually indicates that the source file that you are trying to mount doesn't exist. You downloaded a file named "luxembourg-latest.osm.pbf" and are trying to mount "luxembourg.osm.pbf". You probably need to execute:
|
Thanks both! I ended up following https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04 and doing everything from the local account instead of root. I think one of the problems before was that I did
not
and then later tried it with an incorrect file name, as noted above. (I'll try things just from an Ubuntu repository later) That then loads and the tile server runs. |
Hi! I've tried to import the data of the region I need to set my tile server but I have the same issues. The
The
As you can see i'm using the binding with:
After I execute the import command,
even trying:
I get the following:
I erase the volumes after after every try. |
To see what's going wrong let's do some debugging. Start the following container:
And inside the container's shell check what's actually being mounted at |
After running:
and check in Seems like docker have no access to it. Even I put the files under `C:\Users<my-user> |
Then I think you'll have to move the file to the actual Linux file system and not the mapped Windows one. |
Yes, I've tried something like that also just in case. |
That shouldn't work, as the docker service is running on the Windows host system and has only access to the windows paths. The docker process doesn't know anything about what WSL is doing internally. Putting it under a path that is only inside the Linux subsystem, that the normal windows can't access, should fail. Have you checked if Edit: https://blogs.msdn.microsoft.com/stevelasker/2016/06/14/configuring-docker-for-windows-volumes/ |
Yes, I have, only if I do it wrong, what could it be. I am using docker toolbox, configure the VM Just in case I shared Still this is not working |
Well, I'm feeling pretty stupid by this, but appear you not only need to shared the folder in the VirtualBox, you need to mounted as well. Here I let the guide that I used to solve my problem. Thanks to all for the attention. |
I've just tried it on an Ubuntu 18.04 server, and, first things first, something's needed to get "docker" installed. There are a number of different ways to do that and it'd be useful to know what you've previous done to get to the top of the README".
I did a "sudo apt install docker-compose" but "docker volume create openstreetmap-data" fails with permissions whereas "sudo docker volume create openstreetmap-data" does not. What system did you use when writing the README (i.e. on which systems could you follow the README with no changes and have everything work?)
Subsequently after
I did
which failed with
The text was updated successfully, but these errors were encountered: