Apollo: How to run Apollo docker on Mac OS?

Created on 20 Jul 2017  路  8Comments  路  Source: ApolloAuto/apollo

I'm sorry that I don't understand why there ere so many scrips to run docker...

Build Docker Duplicate Help wanted Question

Most helpful comment

Duplicate with #47

BTW, we have added basic support for Mac. Have fun!
https://github.com/ApolloAuto/apollo/tree/master/docker/scripts/mac

All 8 comments

The author has not been tested yet. It would be best if you could help with the test

install_docker.sh looks to be Linux only. Is there a way to install on OS X?

@garyaiki It is not designed to run on Mac. Even the docker images are not built to run on Mac OS yet.

Duplicate with #47

BTW, we have added basic support for Mac. Have fun!
https://github.com/ApolloAuto/apollo/tree/master/docker/scripts/mac

what's this error, when building in MacOS as suggested.

[INFO] Building on x86_64...
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling
ERROR: /apollo/modules/localization/msf/BUILD:5:1: no such package '@local_integ//': Expected directory at /usr/local/apollo/local_integ but it does not exist. and referenced by '//modules/localization/msf:msf_localization'
ERROR: Analysis of target '//modules/localization:localization_lib' failed; build aborted
INFO: Elapsed time: 7.567s

FAILED: Build did NOT complete successfully (11 packages loaded)

[ERROR] Build failed!
[INFO] Took 124 seconds

should change the directory in the docker env make build to find it as below:

Local-integ

new_local_repository(
name = "local_integ",
build_file = "third_party/local_integ.BUILD",
path = "/usr/local/local_integ",
)

@tarsh I think the docker image is out of date, so at this time, please re-try to add a parameter "dev-x86_64-20180130_1338" when you run the script "dev_start.sh".

@zhxt Even after this, I am having the same issue when trying to build it 馃槥

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carlin314 picture carlin314  路  45Comments

Tao-Fu picture Tao-Fu  路  16Comments

tomzhang666 picture tomzhang666  路  39Comments

Eulerianial picture Eulerianial  路  23Comments

junjieshen picture junjieshen  路  33Comments