Comments (10)
actually all docker containers require a UID of 1000 it seems, not that it matters much
from docker.
Yeah for sure, permissions inside permissions, can be a nightmare.
I thought I'd fixed this last year, we haven't had many reports recently. How it's supposed to work is that the pelias
command detects your UID automatically so you shouldn't have to do anything.
from docker.
can't see much in the pelias commands other than the deprecated DOCKER_USER
.
the pelias command detects your UID automatically so you shouldn't have to do anything.
but how would that work even? it detects your UID but it can't take that for the docker-internal user, that would have to be decided in the image building when creating the user. we could change the permissions with the pelias
command to 1000:1000 but not without sudo. (also would be strange, my data dir would then be owned by the host user overpass
:D).
I think everyone got lucky so far, always having run this with the machine's first user:)
from docker.
I had a similar use case before and had to change our valhalla image to accommodate for that:
https://github.com/gis-ops/docker-valhalla/blob/a503d556a75661a644c25b16fa82eafa89b3f963/Dockerfile#L44-L50
definitely not arguing that's an option for your docker recipes, it's also a total nightmare.
from docker.
You can specify the docker user at runtime too
from docker.
huh.. let me research hahah 😅
from docker.
- https://github.com/pelias/docker/blob/master/lib/env.sh
- https://github.com/pelias/docker/blob/master/projects/planet/docker-compose.yml#L115
from docker.
ah right, totally forgot about that..
I guess that's what DOCKER_USER
was for?
from docker.
thanks!! didn't find that! yes, that should definitely do it. I'll just quietly close this issue and admit my idiot mistake of not using the provided docker-compose.yml..
from docker.
Haha all good, permissions are the most common issue we get, I might spend some more time on the pelias system check
command to see if it can detect issues like this automatically.
from docker.
Related Issues (20)
- Planet Build for Download wof and osm failing. HOT 5
- No support for docker compose v2 HOT 2
- pelias_api stopped running, exit code 126 HOT 35
- access log of pelias container not found HOT 6
- Pelias search returns full features from localhost but features become empty when I send request using public IP.
- shall i run pelias prepare all after pelias import all command HOT 5
- new polylines data
- new whole planet build result deviation HOT 3
- new whole planet build result deviation in address,venue HOT 1
- Venue data importers
- How to init pelias with the data for multiple countries HOT 2
- pelias elastic create returns invalid host header HOT 3
- PeliasModelError: invalid regex test, https://yavuzgallery.com should not match /https?:\/\// HOT 2
- Self hosted planet build result deviation HOT 5
- Elasticsearch Container keeps restarting HOT 7
- Can't import pelias docker for Quebec HOT 7
- Planet pelias json config openaddresses HOT 9
- Crash / Abort in Node create_thread on Ubuntu 20.04 HOT 1
- Pelias openaddress import seem not working
- North America openaddresses missing data and incomplete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.