Compare commits
1 Commits
6bb5e9346b
...
83e6edbabe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83e6edbabe |
@@ -24,11 +24,14 @@ EXAMPLES
|
||||
|
||||
Run an ephemeral PHP webserver container using the current directory as webroot:
|
||||
podmanRun -o "-p=8000:80 --name=php_script -v=$PWD:/var/www/html:z php:7.3-apache"
|
||||
|
||||
Run an ephemeral PHP webserver container using the current directory as webroot using IDE:
|
||||
podmanRun -o "-p=8000:80 --name=php_{FILE_ACTIVE_NAME_BASE} \
|
||||
-v={FILE_ACTIVE_PATH}:/var/www/html:z php:7.3-apache"
|
||||
|
||||
Run an ephemeral bash script:
|
||||
podmanRun -o "--name=bash_script -v=$PWD:$PWD:z -w=$PWD debian:testing" ./script.sh
|
||||
|
||||
Run an ephemeral bash script using IDE:
|
||||
podmanRun -o "--name=bash_{FILE_ACTIVE_NAME_BASE}" \
|
||||
-o "-v={FILE_ACTIVE_PATH}:{FILE_ACTIVE_PATH}:z"
|
||||
|
||||
Reference in New Issue
Block a user