• 6
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Container (Apache) exit after 1 seconds

I've made a mistake in my apache2.conf and so every time I try to start the container, it exits:

#docker start portail
portail
#docker ps -a
    CONTAINER ID        IMAGE                   COMMAND                CREATED             STATUS                      PORTS                                                  NAMES
0c2cd80ab3fc        jnyryan/simplesamlphp   "/usr/sbin/apache2ct   25 hours ago        Exited (1) 1 seconds ago                                                          portail

So how can I resolve my problem? I've made many changes in the container and I don't want to lose it.

Do I need to change the start command of the container? If so, how?

      • 2
    • Yeah normally it's very clear if you had already worked in docker. The question is: How to change the start command so you could rectify your config?

Per your question, problem is with apache2.conf and not with docker, so address your issue with apache2.conf and restart your container.

* UPDATE *

you should update your docker package to latest version (Installation on CentOS)

$ rpm -q docker
docker-1.9.1-25.el7.centos.x86_64
$ 

then use cp to copy working apache2.conf.

  • 0
Reply Report

Trending Tags