mirror of
https://github.com/php/web-php.git
synced 2026-03-24 07:12:16 +01:00
11 lines
246 B
PHP
11 lines
246 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-cli
|
|
|
|
# Launch a container with PHP.
|
|
docker run --rm -it --entrypoint bash php-cli
|
|
</code></pre>
|