[need help] cannot build the software in vs code
I installed vs code and load the repo folder. If I press ctrl+shift+B to build the software, I get directly the error:
> Executing task: bash apollo_docker.sh build <
bash: ./apollo.sh: Permission denied
The terminal process terminated with exit code: 126
Terminal will be reused by tasks, press any key to close it.
btw, I start vscode as root user to avoid any permission issues and building from following user/group:
root@PC:/media/root/WD/Work/ApolloRepo#
Thanks for any advice.
You shouldn't start vscode from as root. It works another way. I think you have similar issue #5259
Hi, gladijos, I still get following error:
> Executing task: bash apollo_docker.sh build <
Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority
docker: Error response from daemon: Conflict. The container name "/apollo_map_volume-sunnyvale_big_loop" is alreadyin use by container "1afb560ec21360a5a6c0861e30ed9371afbcdae40343672a51dc7248ece33d1a". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority
0f6f9c9923c341ed2c962fe0f8d59149f66404540e960ba658331c8a133ba101
[INFO] Start docker container based on local image : apolloauto/apollo:local_dev
modprobe: FATAL: Module nvidia not found.
modprobe: FATAL: Module nvidia-uvm not found.
Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority
8114b12f25ea124ea7359728d6e68e8317135064dd1b160e935e0d844619a528
Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority
857e78b54c03bf517e3090b208a2b860933cb81de1710cc7f041da023a694b21
[INFO] Starting docker container "apollo_dev" ...
Unable to find image 'apolloauto/apollo:local_dev' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority.
See 'docker run --help'.
[ERROR] Failed to start docker container "apollo_dev" based on image: apolloauto/apollo:local_dev
Error: No such container: apollo_dev
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
@ironsuperdev Probably you have issues with certificates. I'm not close with certificates. Can you pull another docker images?
Also check https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository and https://docs.docker.com/registry/insecure/#troubleshoot-insecure-registry. I think it isn't apollo's problem but docker one.
P.S. For remove first issue you can remove image manually docker rmi
Looks like you cannot pull the docker image due to some certificate issue. We haven't done any test in VS Code. Please explore and search the Internet to see if there's any solution to your issue.