OpenERP-docker container won't start

I have the following Dockerfile:

    FROM debian
    RUN set -x \
    && apt-get update && apt-get install -y --no-install-recommends \
    graphviz ghostscript postgresql-client \
    python-dateutil python-feedparser python-matplotlib \
    python-ldap python-libxslt1 python-lxml python-mako \
    python-openid python-psycopg2 python-pybabel python-pychart \
    python-pydot python-pyparsing python-reportlab python-simplejson \
    python-tz python-vatnumber python-vobject python-webdav \
    python-werkzeug python-xlwt python-yaml python-imaging \
    gcc python-dev mc bzr python-setuptools python-babel \
    python-feedparser python-reportlab-accel python-zsi python-openssl \
    python-egenix-mxdatetime python-jinja2 python-unittest2 python-mock \
    python-docutils lptools make python-psutil python-paramiko poppler-utils \
    python-pdftools antiword unzip wget sudo nano \
    && rm -rf /var/lib/apt/lists/*

    RUN wget https://github.com/odoo/odoo/archive/7.0.zip && unzip 7.0.zip && mv odoo-7.0 /opt/openerp && rm 7.0.zip
    RUN groupadd -r openerp && useradd -r -g openerp openerp && chown -R openerp /opt/openerp
    RUN wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.tar.gz && tar zxvf gdata-2.0.17.tar.gz && cd gdata-2.0.17/ && python setup.py install
    COPY openerp-server.conf /etc/openerp-server.conf
    COPY openerp-server /etc/init.d/openerp-server
    RUN chown openerp /etc/openerp-server.conf && chmod 640 /etc/openerp-server.conf
    RUN mkdir /var/log/openerp && chown -R openerp /var/log/openerp
    RUN cp /opt/openerp/debian/logrotate /etc/logrotate.d/openerp-server && chmod 755 /etc/logrotate.d/openerp-server
    EXPOSE 8069
    VOLUME ["/var/log/openerp"]
    ENTRYPOINT ["/etc/init.d/openerp-server", "start"]

If I leave out the ENTRYPOINT and replace it with CMD /bin/bash, I can call the /etc/init.d/openerp-server script without a problem. If I use it as an ENTRYPOINT or just enter CMD /etc/init.d/openerp-server start, this doesn’t work.

  • Running Docker Containers on Docker Swarm using Marathon?
  • Deis docker image deploy
  • Docker with Windows
  • Issues in elasticsearch server running in docker
  • I can't get Docker containers to access the internet?
  • Jenkins with publish over ssh - unable to migrae server configuration
  • I’m guessing I’m missing something quite obvious here but after a weekend of trial and error, I really can’t figure out how to get this container working properly. Any help would be highly appreciated.

  • Java + Github + Docker
  • Dockerfile does not find local files in a maven project
  • Concourse ci resolve docker hostname
  • Nginx reverse proxy on docker and unloaded assets
  • How to view the namespaces range of a Docker container to choose correct Samba domain member idmap range?
  • Spring docker volume and autoreload
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.