Closed ilario closed 6 years ago
This is what -it does:
-i, --interactive=true|false
Keep STDIN open even if not attached. The default is false.
When set to true, keep stdin open even if not attached. The default is false.
-t, --tty=true|false
Allocate a pseudo-TTY. The default is false.
When set to true Docker can allocate a pseudo-tty and attach to the standard input of any container. This can be used, for example, to run a throwaway interactive shell. The default is false.
The -t option is incompatible with a redirection of the docker client standard input.
Thanks. So it's not needed for current version of cooker, do you agree? @nicopace
Without -i you wll not have an interactive console... ie, not able to run bash. if you run cooker directly, then it is not needed.
Don't know about -t.
I just realized a thing where -it
is really useful: Ctrl + C for interrupting easily the compilation.
I just realized a thing where -it is really useful: Ctrl + C for interrupting easily the compilation.
Should we revert then?
Should we revert then?
Nope, sorry, in this PR there were three changes and removing -it
was just one of them. I'll do another PR...
For me the current version of the command in the readme didn't work, this works. Can anyone confirm? And the
-it
option doesn't seem to be needed.