From 77ed9333f73eaa51b8574f3a13da1dfa3a1b14cf Mon Sep 17 00:00:00 2001 From: Maxime Veber Date: Tue, 19 Dec 2017 10:17:11 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60a25d8..a57d18c 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,14 @@ $ docker run -it --rm --name my-running-app my-php-app ## Run a single PHP script -```$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp biig/lightweight-php:latest php your-script.php``` +``` +$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp biig/lightweight-php:latest php your-script.php +``` ## Attach a volume and spawn a new shell -```$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp biig/lightweight-php:latest sh``` +``` +$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp biig/lightweight-php:latest sh +```