docker pull easyswoole/easyswoole3
docker run -itd -p 9501:9501 easyswoole/easyswoole3
docker cp {dockerId}:/easyswoole /data/www/easyswoole
docker stop {dockerId}
docker rm {dockerId}
docker run -ti -p 9501:9501 --restart=always -v /data/www/easyswoole:/easyswoole easyswoole/easyswoole3
安装 php easyswoole install composer dump-autoload
启动服务
php easyswoole server start -d
安装完毕!
本文为麦志健原创文章,转载无需和我联系,但请注明来自麦志健博客http://maizhijian.com
最新评论