Add example
This commit is contained in:
@@ -14,10 +14,9 @@ curl http://localhost:8080
|
||||
|
||||
**Lösung:**
|
||||
```bash
|
||||
docker run -d --name php-test php:8.1-cli
|
||||
docker exec -it php-test bash
|
||||
php -v
|
||||
exit
|
||||
docker run -it --name php-test php:8.1-cli
|
||||
> phpinfo();
|
||||
> exit
|
||||
```
|
||||
|
||||
## Übung 3: Einfaches Dockerfile erstellen
|
||||
@@ -134,4 +133,4 @@ docker run -d --name limited-container \
|
||||
php -r "while(true){echo memory_get_usage().PHP_EOL; sleep(1);}"
|
||||
|
||||
docker stats limited-container
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user