Should interactive commands be possible with the docker-compose mixin? #1816
-
I'm trying to create a custom action to run a script that essentially calls the interactive Django command If I run:
However, with this entry in my porter.yaml:
When I run:
I get this message:
Is Porter doing something to disable the TTY? EDIT Minimal example: https://github.com/martinburchell/porter-test/blob/main/porter.yaml
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Porter is intended to create unattended installers and doesn't connect TTY to the bundle when it runs. Parameters are intended to help with this. You could create parameters that collect the information up front when porter is called and then the script can use the parameters to populate the answers that would have been set by the interactive questions. |
Beta Was this translation helpful? Give feedback.
Porter is intended to create unattended installers and doesn't connect TTY to the bundle when it runs. Parameters are intended to help with this. You could create parameters that collect the information up front when porter is called and then the script can use the parameters to populate the answers that would have been set by the interactive questions.