This change adds an optional environment variable P4APP_NAME. If this
variable is set, this is the name of the container for run and exec
commands.
There are two reasons for this:
This allows running multiple instances of p4app containers,
identifying them by name (and environment)
In scripts, having the name of the container known in advanced (or
controlled by the parent scripts) helps the script's stability. (Fewer
unknowns in the script)
This change adds an optional environment variable P4APP_NAME. If this variable is set, this is the name of the container for
run
andexec
commands.There are two reasons for this:
This allows running multiple instances of p4app containers, identifying them by name (and environment)
In scripts, having the name of the container known in advanced (or controlled by the parent scripts) helps the script's stability. (Fewer unknowns in the script)