Comments (2)
What exact issue are you having if you use the example in the README?
from docker-mycroft.
Not the OP, but I think I'm struggling in the same way. Some background info- I'm a Docker novice (can do the basics but have to follow guides for more complex cases). I've never heard of pulseaudio until trying to setup Mycroft on Docker (following this guide).
First I ran this command:
docker run -d -v /Users/me/Documents/mycroft:/root/.mycroft --device /dev/snd -e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native -v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native -v ~/.config/pulse/cookie:/root/.config/pulse/cookie -p 8181:8181 --name mycroft mycroftai/docker-mycroft
Then I get the following error:
docker: Error response from daemon: Mounts denied:
The path /pulse/native is not shared from OS X and is not known to Docker.
This is clear enough, I need to fix the path so the docker container knows where pulseaudio is. I have pulseaudio installed with homebrew, so I run the following to get the path to pulseaudio:
brew --prefix pulseaudio
# which prints /usr/local/opt/pulseaudio
The problem is I don't know what paths to update. Where should it be pointing? Here's what the directory structure looks like at /usr/local/opt/pulseaudio
:
The only other pulseaudio items mentioned in the Mycroft setup guide are the pulseaudio cookie, which I seem to have setup correctly, and the PULSE_SERVER
env var, which I don't have (and don't know what to set it to).
I know I'm exposing a lot of my ignorance here, but hopefully this adds more context to the original request to improve documentation at this step.
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
- 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.