docker-pgrouting
                                
                                 docker-pgrouting copied to clipboard
                                
                                    docker-pgrouting copied to clipboard
                            
                            
                            
                        How would I add OSM data to this Docker Image
I seem not to be able to get to a command prompt. Only access to psql. So how would I run Osm2pgsql to import OSM datafiles into the postgres database.
Hi @dirklieske and thank you for your interest in the pgRouting Docker Image.
Simply explained you first need to start the pgrouting database container, and then you can configure osm2pgsql to connect to the database like this:
osm2pgsql \
  --host <IP address for DB container> \
  --port <PORT for DB container> \
  --database postgres