使用docker安装swoole环境
https://www.cnblogs.com/8013-cmf/p/11811158.html
docker run -it --name test php:latest /bin/bash 启动容器
docker exec -it mycentos2 /bin/bash
wget https://pecl.php.net/get/swoole-4.6.3.tgz
tar xzf swoole-4.6.3.tgz
docker cp swoole-4.6.3 myphp:/usr/src/php/ext
进入php容器后mv swoole-4.6.3 swoole
docker-php-ext-install swoole