Open xudooo opened 1 week ago
Describe the bug map volumes not mounted
To Reproduce Steps to reproduce the behavior:
./docker/scripts/dev_start.sh
./docker/scripts/dev_into.sh
ls modules/map/data/sunnyvale
Expected behavior some map files are listed, and there is the map sunnyvale in dreamview
Additional context we downloaded registry.baidubce.com/apolloauto/apollo:map_volume-sunnyvale-latest, but used apolloauto/apollo:map_volume-sunnyvale-latest to mount map volume, so this helps: https://github.com/ApolloAuto/apollo/blob/master/docker/scripts/dev_start.sh#L368
registry.baidubce.com/apolloauto/apollo:map_volume-sunnyvale-latest
apolloauto/apollo:map_volume-sunnyvale-latest
--- a/docker/scripts/dev_start.sh +++ b/docker/scripts/dev_start.sh @@ -365,6 +365,7 @@ function docker_restart_volume() { info "Create volume ${volume} from image: ${image}" docker_pull "${image}" docker volume rm "${volume}" > /dev/null 2>&1 + image=$(docker images --format "{{.Repository}}:{{.Tag}}" | grep "${image}" | head -n 1) docker run -v "${volume}":"${path}" --rm "${image}" true > /dev/null }
Describe the bug map volumes not mounted
To Reproduce Steps to reproduce the behavior:
./docker/scripts/dev_start.sh
./docker/scripts/dev_into.sh
ls modules/map/data/sunnyvale
Expected behavior some map files are listed, and there is the map sunnyvale in dreamview
Additional context we downloaded
registry.baidubce.com/apolloauto/apollo:map_volume-sunnyvale-latest
, but usedapolloauto/apollo:map_volume-sunnyvale-latest
to mount map volume, so this helps: https://github.com/ApolloAuto/apollo/blob/master/docker/scripts/dev_start.sh#L368