TexasInstruments / jacinto-ai-devkit

This repository has been moved. The new location is in https://github.com/TexasInstruments/edgeai-tensorlab
https://github.com/TexasInstruments/edgeai
Other
87 stars 19 forks source link

Error message occurred when building dockerfile provided by caffe-jacinto repo #1

Closed WeiChihChern closed 4 years ago

WeiChihChern commented 4 years ago

When building the docker images for both gpu and cpu, their are two kinds of error messages will occur:

First:

debconf: unable to initialize frontend: Dialog

To fix this, please add ARG DEBIAN_FRONTEND=noninteractive right under the first line of your Dockerfiles, e.g. :

FROM ubuntu:14.04 
ARG DEBIAN_FRONTEND=noninteractive
FROM nvidia/cuda:7.5-cudnn4-devel-ubuntu14.04
ARG DEBIAN_FRONTEND=noninteractive

Second:

invoke-rc.d: policy-rc.d denied execution of start.

To fix this, please add RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d to your Dockerfile.

After the fix, the error message will be replaced by the following: image

Cheers!