CoZ Posted April 4, 2020 Share Posted April 4, 2020 (edited) Just set up a MagicMirror docker / server and I've been tinkering with some modules they offer. Most of them require a command in the /Magic_Mirror/Modules/(Module name) sub-folder: npm install For instance, a weather module located here I've tried running that in unRaid CLI and it returns an error. Anyone knows what that is and what I can do to get past that point? Edited April 4, 2020 by CoZ typos / spelling Quote Link to comment
JonathanM Posted April 5, 2020 Share Posted April 5, 2020 7 hours ago, CoZ said: I've tried running that in unRaid CLI and it returns an error. Try it in the container CLI Quote Link to comment
CoZ Posted April 5, 2020 Author Share Posted April 5, 2020 22 minutes ago, jonathanm said: Try it in the container CLI Unfortunately, I don't have an option for a CLI on the container. Right clicking it only shows "Start / Edit / Remove / Support / More Info" Quote Link to comment
JonathanM Posted April 5, 2020 Share Posted April 5, 2020 docker exec -it <container name> /bin/bash Quote Link to comment
CoZ Posted April 5, 2020 Author Share Posted April 5, 2020 (edited) 40 minutes ago, jonathanm said: docker exec -it <container name> /bin/bash I know just enough to be dangerous to myself and my system. lol I take it I run that command in the unRaid CLI? So it would be: docker exec -it MagicMirror2 /bin/bash ? Edited April 5, 2020 by CoZ Quote Link to comment
JonathanM Posted April 5, 2020 Share Posted April 5, 2020 2 minutes ago, CoZ said: So it would be: As long as the container name is accurate, yes, but without the ? at the end. Quote Link to comment
CoZ Posted April 5, 2020 Author Share Posted April 5, 2020 2 hours ago, jonathanm said: As long as the container name is accurate, yes, but without the ? at the end. Thanks. That seemed to work. The Docker has to be running. I didn't realize that until later. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.