• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Updating a Docker Mirror image

Scheduled Pinned Locked Moved Tutorials
7 Posts 2 Posters 1.3k Views 2 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.
  • T Offline
    technofab
    last edited by Dec 24, 2019, 4:34 PM

    I’ve setup in my centos 7 box, a docker mirror image following the instructions in github. All works ok, but I want to know the right update sequence. Is sufficient to make a:

    docker pull bastilimbach/docker-magicmirror

    and restart my docker istance, or what else?

    S 1 Reply Last reply Dec 24, 2019, 5:30 PM Reply Quote 0
    • S Away
      sdetweil @technofab
      last edited by Dec 24, 2019, 5:30 PM

      @technofab that should be the typical approach, assuming the docker image doesn’t change any implementation details between releases… (Only seen THAT a million times!)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • T Offline
        technofab
        last edited by Dec 24, 2019, 8:02 PM

        Mmhmm great, so what you suggest? Backup config and modules delete all, reinstall container and restore config and modules?

        S 1 Reply Last reply Dec 24, 2019, 8:03 PM Reply Quote 0
        • S Away
          sdetweil @technofab
          last edited by Dec 24, 2019, 8:03 PM

          @technofab well, TRY it…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • T Offline
            technofab
            last edited by Dec 26, 2019, 7:45 AM

            For now I suppose this scenario:

            docker stop magic_mirror
            docker rm magic_mirror
            docker system prune -a -f
            docker run -d --publish 80:8080 --restart always…

            In this way I suppose that after run is completed is full updated.

            S 1 Reply Last reply Dec 26, 2019, 1:28 PM Reply Quote 0
            • S Away
              sdetweil @technofab
              last edited by Dec 26, 2019, 1:28 PM

              @technofab looks like docker added a new flag to handle some of this

              on docker run

              --pull=[always,*missing,never]
              

              I think there should have been ‘updated’ too

              so add

              --pull=always
              

              then u don’t need the other steps

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • T Offline
                technofab
                last edited by technofab Dec 27, 2019, 9:21 AM Dec 26, 2019, 6:26 PM

                I don’t know that switch! But it read from dockerfile? My strategy is a bit longer but it can guarantee that all is updated and I can also add git pull for every module in the sequence…

                Edit: I give a try, but not works, and didn’t find that on documentation.
                https://docs.docker.com/engine/reference/commandline/run/

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  1/7
                  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