php - The status is Exited (1) after using docker run
漂亮男人
漂亮男人 2017-06-12 09:21:19
0
1
671

Using the image docker.io/php:5.6-fpm pulled by docker pull, you can run php normally, but without the mysql extension, you cannot connect to the mysql database.
Edit this image and install mysql extension

root@e71eeffe4200:/var/www/html# cd /usr/local/bin
root@e71eeffe4200:/usr/local/bin# ./docker-php-ext-install mysql

Use docker commit to get a new image docker.io/php:5.6-fpm-diy
After docker run this new image, the status is Exited (1), and there is no log information when using docker logs. Please ask. How do we troubleshoot this problem

漂亮男人
漂亮男人

reply all(1)
左手右手慢动作
docker run -idt XXX
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!