Open Nine-H opened 7 years ago
Hi, I have this problem too and I'm frankly not sure how to fix this, as I'm not that good with Dockerfiles. My best guess is, that there's a problem either in startup.sh
script or the CMD
directive in my Dockerfile.
If you find a way, I'll be happy to accept your patch :)
shit, I installed docker last week. I'll take a look because I'm always willing to learn but it might take a more experienced dude.
I have same problem. I have to run manually startup file. root@2bafc111db1b:/# bash startup.sh Starting XAMPP for Linux 5.6.21-0... XAMPP: Starting Apache...already running. XAMPP: Starting MySQL...already running. XAMPP: Starting ProFTPD...already running. /usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security. 'Supervisord is running as root and it is searching ' 2020-05-25 15:36:39,679 CRIT Supervisor running as root (no user in config file) 2020-05-25 15:36:39,679 WARN Included extra file "/etc/supervisor/conf.d/supervisord-openssh-server.conf" during parsing Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
I have a container set up for a site I'm writing to learn php, when I start the container the page doesn't load I have to manually start lampp.
is there a way to make apache run when I start the container with
docker start testLAMP
or am I missing some arguments?