|
@@ -64,7 +64,7 @@ EXAMPLES
|
|
|
|
|
|
Run an ephemeral bash script using IDE:
|
|
Run an ephemeral bash script using IDE:
|
|
podmanRun -o "--name=bash_{FILE_ACTIVE_NAME_BASE}" \
|
|
podmanRun -o "--name=bash_{FILE_ACTIVE_NAME_BASE}" \
|
|
- -o "-v={FILE_ACTIVE_PATH}:{FILE_ACTIVE_PATH}:z"
|
|
|
|
|
|
+ -o "-v={FILE_ACTIVE_PATH}:{FILE_ACTIVE_PATH}:z" \
|
|
-o "-w={FILE_ACTIVE_PATH}" \
|
|
-o "-w={FILE_ACTIVE_PATH}" \
|
|
-o "debian:testing" \
|
|
-o "debian:testing" \
|
|
{FILE_ACTIVE} arg1 arg2
|
|
{FILE_ACTIVE} arg1 arg2
|
|
@@ -207,8 +207,8 @@ EOF
|
|
# Run or execute container
|
|
# Run or execute container
|
|
_runContainer "$_cname"
|
|
_runContainer "$_cname"
|
|
|
|
|
|
- # Cleanup more reliably
|
|
|
|
- [[ "$_mode" == "recreate" ]] && _containerExists "$_cname" && _removeContainer "$_cname"
|
|
|
|
|
|
+ # Cleanup more reliably (usually not necessary)
|
|
|
|
+ #[[ "$_mode" == "recreate" ]] && _containerExists "$_cname" && _removeContainer "$_cname"
|
|
}
|
|
}
|
|
|
|
|
|
# Allow this function to be executed directly
|
|
# Allow this function to be executed directly
|