-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dokku run do not supports interactive mode. #3739
Conversation
attach container's STDIN if it has tty
Seems to be a failure in an existing test. Mind taking a look at that and adding a test to prove this fix? |
@josegonzalez thank you for quick review! Unfortunately I don't have much experience with |
I can confirm this fix works for me. Given how big a breakage this is, I would roll this out in a patch release and figure out testing later, because nobody can use shells as it stands. |
This affects us so much we would consider reverting that feature if it can't be fixed trivially |
@shulcsm You can work around it by replacing your |
Going to merge this in for now and figure out how to test it later. |
# History ## 0.19.7 Install/update via the bootstrap script: ```shell wget https://raw.githubusercontent.com/dokku/dokku/v0.19.7/bootstrap.sh sudo DOKKU_TAG=v0.19.7 bash bootstrap.sh ``` ### Documentation - #3765: @znz Fix typo in desc of is_tls13_available ### Other - #3739: @safeforge dokku run do not supports interactive mode. - #3762: @dependabot-preview[bot] chore(deps): bump handlebars from 4.4.5 to 4.5.1 in /tests/apps/.websocket.disabled
After !3687 I discovered is not possible anymore to use command
dokku run
in the interactive mode. e.g. usingbash
The error seems to be related with the docker command. The command
docker run
accepts the flags--interactive
which permits to keep STDIN/STDOUT opened. Instead--interactive
param in thedocker create
command seems to have a different behaviour, indeeddocker start
accepts--interactive
param as well.The PR appends the param
--interactive
todocker start
command.