Question regarding the -t switch usage in the `docker run` command

In the How to grab the CODE image from Docker image section of the CODE Docker image — SDK https://sdk.collaboraonline.com/ documentation page:

Start a new container:

docker run -t -d -p 127.0.0.1:9980:9980 collabora/code

I would like to ask why the -t(--tty) command option is used here as the wsd service doesn’t seem to use any of the terminal controlling features?

As dropping the option from the command line doesn’t seem to affect the service’s operation I suggest dropping it from the documentation so that it won’t confuse the documentation readers.

Welcome, @brlin !

Thank you for your question and suggestion. I’ve started a discussion on Matrix to see if anyone has a strong reason for keeping the -t option. If no major objections come up, we can proceed with the changes as you suggested.

Thanks again for bringing this up! :blush:

1 Like