Comments (8)
Yea I'm working on it, I'll document it
from docker-mycroft.
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.
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.
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.
Thanks I'll take a look
from docker-mycroft.
Would be great to have instructions on how to run this on Mac if anyone figures it out!
from docker-mycroft.
@btotharye have you figured out how to get it working on a mac?
from docker-mycroft.
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)
- getting No module named requests error HOT 9
- Freezes during docker build HOT 3
- Is this project maintained? HOT 2
- Switch to Alpine? HOT 1
- Add instructions for setting up TTS HOT 5
- Config not stored in external value, need to reconnect to home.mycroft.ai after container restart HOT 2
- MAC Docker Pulse Audio How to HOT 2
- Not working on arm HOT 12
- .dockerenv does not exist HOT 6
- [REQUEST] docker for arm64 HOT 3
- ALSA dies after a while HOT 4
- Could please if possible provide the instruction to pull and run the docker image of mycroft on MacOS? HOT 1
- docker-mycroft connection refused HOT 2
- docker build fails with "ERROR: Command errored out with exit status 1" HOT 3
- Mycroft Docker - Error after updates HOT 3
- Docker image error: "pa_context_connect() failed: Connection refused" with audiotest HOT 3
- common play framework fails to play audio: No service found for uri_type: https
- Update to latest mycroft-core version / automatic builds
- Error installing Krunner Search HOT 1
- HTTP 404: Not Found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mycroft.