Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This will install a wrapper script to launch `teams`.
Launch the teams-wrapper script to enter a shell inside the Docker container

```bash
teams-wrapper bash
teams-wrapper
```

Then the prompt should be displayed like:
Expand All @@ -55,11 +55,9 @@ Adding user `teams' to group `sudo' ...
Adding user teams to group sudo
Done.
bash
teams@0b2fefbf45d2:~$
```

then type `teams`.

And Microsoft Teams should be open and ready to go.

> **Note**
>
Expand Down
5 changes: 3 additions & 2 deletions scripts/teams-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ prepare_docker_device_parameters() {
done
}

prog=$(basename $0)
#prog=$(basename $0)
prog=$(basename bash)
exec=$(which $prog)

if [[ ${prog} == "teams-wrapper" ]]; then
Expand Down Expand Up @@ -126,7 +127,7 @@ prepare_docker_device_parameters

echo "Starting ${prog}..."
#${SUDO} docker run -d \
${SUDO} docker run -it \
yes 'teams; while true; printf "\033c"; do sleep 10; done' | ${SUDO} docker run -i \
${ENV_VARS} \
${VIDEO_DEVICES} \
--device /dev/dri \
Expand Down