MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Docker install on synology nas

    Scheduled Pinned Locked Moved Solved Troubleshooting
    18 Posts 4 Posters 2.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @pauabaer
      last edited by

      @pauabaer i do not know how to do it with the gui,
      there is a place where you can paste in the compose file . i have not tried that

      i ssh’d into the nas and did the manual install steps via commandline

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        pauabaer @sdetweil
        last edited by

        @sdetweil
        I startet the container with a compose file where I added the user 1026 and group ID 100 but there is no success.

        Still the same error - see attached file.IMG_2437.jpeg

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @pauabaer
          last edited by

          @pauabaer typically the group id is the same as the user id

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @sdetweil
            last edited by

            @pauabaer

            id -u will get this users id number
            id -g will get this users group number

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              pauabaer @sdetweil
              last edited by

              @sdetweil
              That’s what i checked before. Id -u > 1026 / id -g > 100.
              These parameters i inserted in the compose file.

              1 Reply Last reply Reply Quote 0
              • P Offline
                pauabaer @karsten13
                last edited by

                @karsten13

                I tried to start via command line

                
                paua@NAS:~$ docker run  -d \
                >         --user root \
                > --name magicmirror \
                >     --publish 8036:8080 \
                >     --restart unless-stopped \
                >     -e TZ=Europe/Berlin \
                >     --volume /volume2/docker/MagicMirror/config:/opt/magic_mirror/config \
                >     --volume /volume2/docker/MagicMirror/modules:/opt/magic_mirror/modules \
                >     --volume /volume2/docker/MagicMirror/css:/opt/magic_mirror/css \
                >     karsten13/magicmirror:latest
                docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=magicmirror": dial unix /var/run/docker.sock: connect: permission denied.
                See 'docker run --help'.
                
                

                But again I got the permission error.

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  pauabaer @pauabaer
                  last edited by pauabaer

                  I fixed it and now MM is running in docker on my synology diskstation.
                  I had to insert

                  user: root
                  

                  in the compose file. It is working fine.

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 1 / 2
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy