回复 3# linux_zcy 我现在自己弄了一个dockerfile
使用docker build的时候,报错!!!
附dockerfile和build出错的信息。
以下为一些出错的信息:
invoke-rc.d: policy-rc.d denied execution of start.
Setting up man-db (2.6.7.1-1ubuntu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Building database of manual pages ...
Setting up ntfs-3g (1:2013.1.13AR.1-2ubuntu2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
update-initramfs: deferring update (trigger activated)
Setting up x11-common (1:7.7+1ubuntu8.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
invoke-rc.d: policy-rc.d denied execution of start.
Setting up ca-certificates (20141019ubuntu0.14.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up dictionaries-common (1.20.5) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
update-default-wordlist: Question empty but elements installed for class "wordlist"
dictionaries-common/default-wordlist: return code: "0", value: ""
Choices: , Manual symlink setting
shared/packages-wordlist: return code: "10" owners/error: "shared/packages-wordlist doesn't exist"
Installed elements: english (Webster's Second International English wordlist)
Please see "/usr/share/doc/dictionaries-common/README.problems", section
"Debconf database corruption" for recovery info.
update-default-wordlist: Selected wordlist ""
does not correspond to any installed package in the system
and no alternative wordlist could be selected.
dpkg: error processing package dictionaries-common (--configure):
subprocess installed post-installation script returned error exit status 255
Setting up lintian (2.5.22ubuntu1) ...
dpkg: dependency problems prevent configuration of miscfiles:
miscfiles depends on dictionaries-common (>= 0.20); however:
Package dictionaries-common is not configured yet.
dpkg: error processing package miscfiles (--configure):
dependency problems - leaving unconfigured
Setting up ncurses-term (5.9+20140118-1ubuntu1) ...
Setting up notification-daemon (0.7.6-1) ...
Setting up openssh-sftp-server (1:6.6p1-2ubuntu2) ...
Setting up openssh-server (1:6.6p1-2ubuntu2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
Creating SSH2 ED25519 key; this may take some time ...
invoke-rc.d: policy-rc.d denied execution of start.
Adding user pulse to group audio
invoke-rc.d: policy-rc.d denied execution of start.
Setting up aptdaemon (1.1.1-1ubuntu5.1) ...
Setting up xul-ext-ubufox (3.0-0ubuntu0.14.04.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up pulseaudio-module-x11 (1:4.0-0ubuntu11.1) ...
Setting up liblwp-protocol-https-perl (6.04-2ubuntu0.1) ...
Setting up libwww-perl (6.05-2) ...
Setting up xscreensaver-data (5.15-3ubuntu1) ...
Setting up xscreensaver (5.15-3ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.30.7-0ubuntu1) ...
Processing triggers for ca-certificates (20141019ubuntu0.14.04.1) ...
Updating certificates in /etc/ssl/certs... 173 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Errors were encountered while processing:
dictionaries-common
miscfiles
E: Sub-process /usr/bin/dpkg returned an error code (1)
INFO[2549] The command [/bin/sh -c apt-get update && apt-get -y install openssh-server pwgen tightvncserver firefox xfce4] returned a non-zero code: 100
附件:
Dockerfile (902 Bytes)
buildererr.txt (21.75 KB)
收起