Skip to content

Information for restarting the container #594

@mirkomaty

Description

@mirkomaty

Is your feature request related to a problem? Please describe.
I started the container using the command from the documentation:

docker run -it --shm-size=16g \
  -e PBF_URL=http://download.geofabrik.de/europe/germany-latest.osm.pbf \
  -e REPLICATION_URL=http://download.geofabrik.de/europe/germany-updates/ \
  -e IMPORT_WIKIPEDIA=false \
  -e NOMINATIM_PASSWORD=Haf9LiIp#Pah \
  -v /var/www/nominatim/app/data:/var/lib/postgresql/16/main \
  -v /var/www/nominatim/app/flat:/nominatim/flatnode \
  -p 127.0.0.1:5006:8080 \
  --name nominatim \
  mediagis/nominatim:4.5

But this opens a Terminal Session, which is not, what most people need. So I wanted to restart the container with different parameters. But I wasn't able to start the container based on the data that had already been generated. Every restart of the container seems to rebuild the data.

Describe the solution you'd like
I would appreciate finding a description of parameters that can be used to start the container based on the already existing data. It would also be helpful to know whether you can start the container with --restart-unless-stopped.
Maybe this information already exists somewhere, but I haven't found it yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions