当我尝试在docker上使用tkDNN并键入以下命令时,发生错误。 https://github.com/ceccocats/tkDNN
cd ~/tkDNN/docker
sudo docker build -t tkdnn:build -f Dockerfile .
我应该如何解决?当我搜索错误时,它说我应该加#! / bin / bash到入口点文件,但这是正确的吗? 谢谢!
nvidia@nvidia:~/tkDNN/docker$ sudo docker build -t tkdnn:build -f Dockerfile .
[sudo] password for nvidia:
Sending build context to Docker daemon 1.565MB
Step 1/3 : FROM ceccocats/tkdnn:latest
latest: Pulling from ceccocats/tkdnn
d7c3167c320d: Pull complete
131f805ec7fd: Pull complete
322ed380e680: Pull complete
6ac240b13098: Pull complete
006053f4160f: Pull complete
7f180dbff330: Pull complete
36adb6171cb0: Pull complete
d7cf778701d8: Pull complete
19ebebfc9562: Pull complete
335ede31fbe9: Pull complete
0d6c72ebfc16: Pull complete
0211dac530d3: Pull complete
e04f7e57fc62: Pull complete
25f0770a8145: Pull complete
8d5eabc9d0e3: Pull complete
1fb7fbd0c6e2: Pull complete
6a7c79fe938f: Pull complete
fa3a50c7d9de: Pull complete
afa98fb45a32: Pull complete
20213feff8c8: Pull complete
9a224688b140: Pull complete
417656038cf1: Pull complete
Digest: sha256:68e0359c215abecc9f0ca415271fdf264deaf974f5504c3a1b3a7593b36e5abe
Status: Downloaded newer image for ceccocats/tkdnn:latest
---> 1532824b3766
Step 2/3 : LABEL maintainer "Francesco Gatti"
---> Running in ee7893a6a198
Removing intermediate container ee7893a6a198
---> 37d4cc53c2b8
Step 3/3 : RUN cd && git clone https://github.com/ceccocats/tkDNN.git && cd tkDNN && mkdir build && cd build && cmake .. && make -j12
---> Running in facbcbc8d84b
standard_init_linux.go:211: exec user process caused "exec format error"
The command '/bin/sh -c cd && git clone https://github.com/ceccocats/tkDNN.git && cd tkDNN && mkdir build && cd build && cmake .. && make -j12' returned a non-zero code: 1