1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Files
archived-web-php/include/download-instructions/linux-docker-cli-community.php
2025-09-08 19:31:34 +05:30

11 lines
280 B
PHP

<p>
On the command line, run the following commands:
</p>
<pre><code class="language-bash line-numbers">
# Pull the PHP Docker image.
docker pull php:<?= $version; ?>-cli
# Launch a container with PHP.
docker run --rm -it --entrypoint bash php:<?= $version; ?>-cli
</code></pre>