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

**URL:** <https://forum.collaboraonline.com/t/question-regarding-the-t-switch-usage-in-the-docker-run-command/3203>\
**Category:** Installation & Configuration\
**Created:** [December 5, 2024, 2:44am UTC](https://forum.collaboraonline.com/t/question-regarding-the-t-switch-usage-in-the-docker-run-command/3203 "2024-12-05T02:44:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brlin](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/brlin/32/1446_2.png) [@brlin](https://forum.collaboraonline.com/u/brlin)\
**Post date:** [December 5, 2024, 2:44am UTC](https://forum.collaboraonline.com/t/question-regarding-the-t-switch-usage-in-the-docker-run-command/3203/1 "2024-12-05T02:44:27Z")

</div>

In [the How to grab the CODE image from Docker image section of the CODE Docker image — SDK https://sdk.collaboraonline.com/ documentation page](https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html#how-to-grab-the-code-image-from-docker-image):

> 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.

---

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [December 5, 2024, 5:51am UTC](https://forum.collaboraonline.com/t/question-regarding-the-t-switch-usage-in-the-docker-run-command/3203/2 "2024-12-05T05:51:50Z")

</div>

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! 😊

---

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [December 12, 2024, 8:01am UTC](https://forum.collaboraonline.com/t/question-regarding-the-t-switch-usage-in-the-docker-run-command/3203/3 "2024-12-12T08:01:38Z")

</div>

Closed on December 12, 2024, 8:01am UTC


