Giter Club home page Giter Club logo

Comments (2)

TheLastProject avatar TheLastProject commented on August 22, 2024

What exact issue are you having if you use the example in the README?

from docker-mycroft.

fotijr avatar fotijr commented on August 22, 2024

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:
image

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)

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.