Closed DucTaiVu closed 1 year ago
Hi DucTaiVu,
The error could be due to a mismatch between architectures, and if so you can use the --platform flag see more here to do a build targeting the right architecture. It could also be that the camera architecture is not the same as the arch you used when building the image. If you think it is something else it would be great if you could add some more details about the error and how it occurred with steps, and we can help you better.
Hi Danielmyh, Cause i ran the build app: ~$ docker build --tag $app_name --build-arg ARCH . It returns not permission, Then replaced it with admin rights ~$ sudo docker build --tag $APP_NAME --build-arg ARCH . This gave me the error. I fixed it as follows: ~$ sudo chmod 666 /home/user/.docker/buildx/activity/default Then: ~$ docker build --tag $APP_NAME --build-arg ARCH . Everything was working fine. Thanks,
Describe the bug
Explain the behavior you would expect and the actual behavior.
To reproduce
Please provide as much context as possible and describe the reproduction steps that someone else can follow to recreate the issue on their own.
A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps. Bugs without steps will not be addressed until they can be reproduced.
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Add any other context about the problem here.