-
-
Save demaniak/c56531c8d673a6f58ee54b5621796548 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
FILE=teams.deb | |
if [ ! -f "$FILE" ]; then | |
curl -L -o $FILE "https://go.microsoft.com/fwlink/p/?linkid=2112886&clcid=0x1c09&culture=en-za&country=za" | |
fi | |
docker build -t ms-teams-docker . |
FROM ubuntu | |
RUN apt-get update && \ | |
apt-get install -y curl apt-utils \ | |
libasound2 libatk-bridge2.0-0 libcairo2 libcups2 libgdk-pixbuf2.0-0 \ | |
libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 \ | |
libsecret-1-0 libx11-xcb1 libxcomposite1 libxcomposite1 \ | |
libxss1 apt-transport-https libxkbfile1 | |
COPY teams.deb /tmp/teams.deb | |
RUN dpkg -i /tmp/teams.deb && apt-get install -f |
#!/bin/bash | |
docker run -it --net=host --env="DISPLAY" \ | |
--volume="$HOME/.Xauthority:/root/.Xauthority:rw" \ | |
--privileged \ | |
ms-teams-docker |
Hi, i could get the app working from xming. But it doesnt work on vncclient. is it something to do with env display=: ?
how can i enable x11 forwarding on vnc so i could view the app on remote desk?
Hello,
I just can't start teams. After running the run.sh a command line opens as intended. Unfortunately nothing happens when I try to launch teams. Any chance somebody has an idea what could cause the issue?
Also makes sense to use a non-root user as the container itself is privileged:
RUN useradd teams && mkdir -p /home/teams && chown teams:teams /home/teams
USER teams
And with --volume="$HOME/.Xauthority:/home/teams/.Xauthority:rw"
of course.
I've reused some its of this gist to embed everything in a fork of https://github.com/mdouchement/docker-zoom-us, which I have committed to https://github.com/olberger/docker-teams-linux
No warranty, as I haven't tested much.
Hope this works.
I think its just '"~/.config/Microsoft/Microsoft Teams' but i will do some more checking and try it out.