linghu8812 / tensorrt_inference

696 stars 205 forks source link

I have failed to build docker images. #144

Open leeyunhome opened 1 year ago

leeyunhome commented 1 year ago

Hello, @linghu8812

manager@manager-desktop:~/coding/GitHub/tensorrt_inference$ sudo docker build -t tensorrt_inference:0.1.0_rc . Sending build context to Docker daemon 106.5MB Step 1/9 : FROM nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04 ---> afc7fe5f7509 Step 2/9 : WORKDIR /home/install/ ---> Using cache ---> de321099358d Step 3/9 : RUN apt-get update ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in 359afcd09f9c standard_init_linux.go:228: exec user process caused: exec format error The command '/bin/sh -c apt-get update' returned a non-zero code: 1

Cou,ld you tell me how to resolve this problem?

Thank you.

linghu8812 commented 1 year ago

where do you build image? dGPU or Jetson

leeyunhome commented 1 year ago

where do you build image? dGPU or Jetson

Built by Jetson.

linghu8812 commented 1 year ago

where do you build image? dGPU or Jetson

Built by Jetson.

replace this line with ubuntu images which can run on Jetson. https://github.com/linghu8812/tensorrt_inference/blob/master/Dockerfile#L1