Giter Club home page Giter Club logo

Comments (8)

btotharye avatar btotharye commented on August 22, 2024 2

Yea I'm working on it, I'll document it

from docker-mycroft.

btotharye avatar btotharye commented on August 22, 2024 2

I'm still working on getting the base image finished up using the apt repo's, etc. Still working with the team to work through those issues. Once the image is production ready and stable I will then turn efforts into this.

Thanks

from docker-mycroft.

BenjaminHCCarr avatar BenjaminHCCarr commented on August 22, 2024 1

The short answer is that this is a shortcoming of docker on OSX and BSD in general. Docker relies on a hard coded /dev/audio to do sound output. That said. It works fine with the Android app.

That said I am trying to do a native install using Homebrew:
Tap: brew tap benjaminhccarr/tap
Formula: https://github.com/BenjaminHCCarr/homebrew-tap/blob/master/Formula/mycroft-core.rb

I started with the RPi code: https://github.com/MycroftAI/enclosure-picroft

So you can see I am a bit behind... the idea was to get known working going first, but as we are now 9 revisions behind -core I may start unpinning things!

The original (failing) RPi build is at: https://github.com/BenjaminHCCarr/homebrew-tap/blob/master/Formula/mycroft-core.rb-Pinned where all the repos/deps were pinned... this broke badly. I was trying to bump as few as possible from a known good config.

The script at: https://github.com/BenjaminHCCarr/homebrew-tap/blob/master/requirements_to_resources.sh allows you to change resources.txt into Homebrew requirements. This was tedious; this generates 98% of the deps with sha's but occasionally fails on weird compression schemes.

There was talk of a pure python install, but that gets ugly too; people talked about cassandra and anaconda.

At the moment I think the best native solution is homebrew. Plus 78.62% of the work is in the repo, I just need time/testers to sort things.

from docker-mycroft.

rhelmer avatar rhelmer commented on August 22, 2024

I don't think it's currently possible to forward the sound device from the Linux docker image to the macOS host, but it's possible to install PulseAudio (using Homebrew) and forwarding that over the network - see https://stackoverflow.com/questions/40136606/how-to-expose-audio-from-docker-container-to-a-mac

from docker-mycroft.

btotharye avatar btotharye commented on August 22, 2024

Thanks I'll take a look

from docker-mycroft.

8enmann avatar 8enmann commented on August 22, 2024

Would be great to have instructions on how to run this on Mac if anyone figures it out!

from docker-mycroft.

LearnedVector avatar LearnedVector commented on August 22, 2024

@btotharye have you figured out how to get it working on a mac?

from docker-mycroft.

btotharye avatar btotharye commented on August 22, 2024

going to close out this issue for now since I don't think it is anything we can really do atm here.

from docker-mycroft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.