Skip to content

rnicrosoft-studio/osmdata-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osmdata-docker

Build and push Docker images CI

Dockerfile for OSMData generation without hcloud platform requirement and website part.

Run

docker volume create planet_data # > 160 GB
docker volume create osmdata_data
docker volume create robot_data # > 30 GB
docker run -dit \
  --name osmdata \
  -v osmdata_data:/data \
  -v planet_data:/mnt/data \
  -v robot_data:/home/robot \
  rnicrosoft/osmdata

Access the shell with

docker exec -it <container_id> /bin/bash

To transfer files or directories, see docker cp

Usage

For the first run, execute /tmp/init.sh This step had been done in docker image building stage due to network connectivity reason in some regions. To update the packages, please refer to the script inside.

To update planet and osmdata (for details, see run-update.sh)

cd /home/robot/ # to avoid permission fail of temp files
su -c run-update.sh [-p] [JOBS...] robot

Obtain the output data in <robot_data>/data, or see logs in <robot_data>/log if error occurs.

Notes

Default timezone is Asia/Shanghai.

Tested with a 16 GB RAM machine.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published