Public bug reported: Steps to recreate: 1-install docker on some system. Example: "curl -sSL https://get.docker.com/ | sh" 2-Paste the following lines into a "Dockerfile": 3-run "docker build ." and watch this fail... :-) ------------------------------------------- FROM ubuntu:14.04 MAINTAINER Jeroen Baten <jeroen.ba...@deltares.nl> LABEL Description="test image for automatic install of software" RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections RUN echo 'exit 0' > /usr/sbin/policy-rc.d RUN apt-get install -y software-properties-common RUN add-apt-repository ppa:libreplan/ppa RUN apt-get update RUN apt-get upgrade -y RUN apt-get install -y libreplan -------------------------------------------
part of the output is: ------------------------------------------- Creating config file /etc/default/tomcat6 with new version Adding system user `tomcat6' (UID 103) ... Adding new user `tomcat6' (UID 103) with group `tomcat6' ... Not creating home directory `/usr/share/tomcat6'. Creating config file /etc/logrotate.d/tomcat6 with new version * Starting Tomcat servlet engine tomcat6 ...fail! invoke-rc.d: initscript tomcat6, action "start" failed. ------------------------------------------- /usr/bin/invoke-rc.d returns errorlevel 1 because /etc/init.d/tomcat6 returns errorlevel 1. Good luck! ** Affects: tomcat6 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in Ubuntu. https://bugs.launchpad.net/bugs/1497288 Title: /etc/init.d/tomcat6 exits with errorlevel 1 even after succesfull start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/1497288/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs