Giter VIP home page Giter VIP logo

docker-lemp's People

Contributors

gitter-badger avatar stenote avatar stenotefoobar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-lemp's Issues

help me!

Hello I pull your image. but run "docker run -d --name=lemp
-v /path/to/www/:/var/www/
-v /path/to/mysql:/var/lib/mysql
-p port_of_nginx:80
stenote/docker-lemp:latest"
this command return
docker: Invalid hostPort: port_of_nginx.

Exit Code (1)

Hello.

It appears that your container is exiting with code 1.

Any idea why?

Thanks

Update

Hello There!

Thanks for the nice build. If I pull it, it works like a charm. 👍
However, I want to refresh it to PHP 5.6, so I wanted to build the image myself with the help of your README. I've added the following between line 6 and 7:
apt-get install -y software-properties-common &&
add-apt-repository ppa:ondrej/php5-5.6 && \

These make the build fail. No matter, let's try to build it the way you ment it. Then it errors me with the COPY part. When I comment it out it works again. Builds the image.
OK, let's run it. Doesn't work, sais something about the entrypoint.... Must be an adhoc error, let's run it again. It runs, but the mysql fails to work just like here:
fredericlb/docker-phabricator#1

Can you help me hoe to upgrade your image with php 5.6?

PHP doesn't seem to be starting properly

Hey there! I get an error when I try to spin up a container, the php-fpm bin path seems to be incorrect:

...
2016-05-23 15:16:47,348 INFO spawnerr: can't find command '/usr/sbin/php5-fpm'
...
2016-05-23 15:16:53,588 INFO gave up: php5-fpm entered FATAL state, too many start retries too quickly

Do you have any suggestions? :)

why not work?

1)Building
sudo docker build -t some-name .
----OK
2)Starting
sudo docker run -it some-name /bin/bash

sudo: unable to resolve host andrey-lenovo
2017-08-16 10:57:57,717 CRIT Supervisor running as root (no user in config file)
2017-08-16 10:57:57,717 WARN Included extra file "/etc/supervisor/conf.d/mysql.conf" during parsing
2017-08-16 10:57:57,717 WARN Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing
2017-08-16 10:57:57,717 WARN Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing
2017-08-16 10:57:57,733 INFO RPC interface 'supervisor' initialized
2017-08-16 10:57:57,733 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-08-16 10:57:57,734 INFO supervisord started with pid 1
2017-08-16 10:57:58,737 INFO spawned: 'nginx' with pid 10
2017-08-16 10:57:58,741 INFO spawned: 'php-fpm' with pid 11
2017-08-16 10:57:58,744 INFO spawned: 'mysql' with pid 12
2017-08-16 10:57:59,912 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-08-16 10:57:59,912 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-08-16 10:57:59,912 INFO success: mysql entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-08-16 10:58:00,011 INFO exited: mysql (exit status 0; expected)
2017-08-16 10:58:01,013 INFO spawned: 'mysql' with pid 333
2017-08-16 10:58:01,285 INFO exited: mysql (exit status 0; not expected)
2017-08-16 10:58:02,287 INFO spawned: 'mysql' with pid 646
2017-08-16 10:58:02,549 INFO exited: mysql (exit status 0; not expected)
2017-08-16 10:58:04,554 INFO spawned: 'mysql' with pid 959
2017-08-16 10:58:04,824 INFO exited: mysql (exit status 0; not expected)
2017-08-16 10:58:07,830 INFO spawned: 'mysql' with pid 1272
2017-08-16 10:58:08,112 INFO exited: mysql (exit status 0; not expected)
2017-08-16 10:58:09,113 INFO gave up: mysql entered FATAL state, too many start retries too quickly

TODO

删除 openssh-server
增加 -v参数
mysql密码为空

start container failed

2016-08-16 08:49:34 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
2016-08-16 08:49:34 [ERROR]   The data directory needs to be specified.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.