Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] running container after pulling image #9

Open
njm2112 opened this issue Mar 22, 2020 · 7 comments
Open

[macOS] running container after pulling image #9

njm2112 opened this issue Mar 22, 2020 · 7 comments

Comments

@njm2112
Copy link

njm2112 commented Mar 22, 2020

Install instructions are somewhat unclear... I am used to using docker-compose but there is no docker-compose.yml in this repo.

After pulling the :latest image, is that when you run the install scripts? Or do you have to first build the container?

I tried running using docker run --name=zoom zoom-us but Docker Desktop for Mac is reporting Exit Code 0 -- the container stops the moment after it starts.

Also, zoom at the shell does not work because there's nothing aliased to the command...

Can you provide a little more info about installation/building the container, and then running it? Happy to provide a pull request with an updated readme.md if you can help me get this up and running.

@mdouchement
Copy link
Owner

The installation process puts this script https://github.com/mdouchement/docker-zoom-us/blob/master/scripts/zoom-us-wrapper in the host folder /usr/local/bin (using docker option: --volume /usr/local/bin:/target).
docker-compose lacks of flexibility to run this image.

This project is made to run on GNU/Linux as it uses on X11 an PulseAudio. It mounts host's devices in the container like /dev/video* and /dev/dri that does not exist on macOS.

@njm2112
Copy link
Author

njm2112 commented Mar 24, 2020

Thanks for clarifying this. As I mentioned, attempting to execute zoom at the shell prompt fails because it doesn't appear there is anything aliased to the zoom command (even after the installation process puts the script in the host folder). Can I manually alias the script? If so, what am I to use alias zoom=/usr/local/bin/zoom-us-wrapper?

Also, it just occurred to me that X11 is 32-bit and I am using macOS 10.15 (Catalina) which does not run 32-bit applications. Does this mean that I won't be able to use this without using an OS that supports launching X11?

Thanks again!

@mdouchement
Copy link
Owner

Yes you can put the script where you want on your host and make an alias.
(A symbolic link is normally done during the installation https://github.com/mdouchement/docker-zoom-us/blob/master/entrypoint.sh#L13).

I don't know about Catalina issue.
Maybe Docker for Mac should handle 32bits Linux binaries as it is a xhyve VM.
You'll need tools like XQuartz and PulseAudio on your mac.
You'll also need to find how to forward host devices (webcam, audio, etc.) to the xhyve VM.

@mdouchement mdouchement changed the title running container after pulling image [macOS] running container after pulling image Apr 26, 2020
@jonathancross
Copy link

@njm2112 any luck?

@changalberto
Copy link

The wrapper script is not being installed on Catalina even when you sudo I think is because of security. But when I install the script into my ~/Downloads folder, it prompts me to give it folder access and installs successfully.

After installing the script into Downloads folder, I tried executing the script from there and I get the following error:

./zoom-us-wrapper: line 15: xdg-user-dir: command not found
./zoom-us-wrapper: line 19: xdg-user-dir: command not found
Cleaning up stopped zoom-us instances...
sudo: docker: command not found
./zoom-us-wrapper: line 57: xauth: command not found
./zoom-us-wrapper: line 57: xauth: command not found

@ghost
Copy link

ghost commented Oct 27, 2020

any update please?

@LoSunny
Copy link

LoSunny commented Dec 13, 2020

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants