假设php脚本如下 a.php
<?php echo "OK";
启动phpcli docker
docker run -it --rm php:cli-alpine3.10 sh php -f a.php
Powered by: 博客园 Copyright © 2024 Morya Powered by .NET 9.0 on Kubernetes