vignettes/upgrading-mira-cli.Rmd
upgrading-mira-cli.Rmd
How to upgrade MIRA to the lastest version in the command line
Upagrading MIRA single container
-
Open a terminal (Ubuntu if you installed WSL2 with this instructions, Terminal if you are using a Mac).
cd
to the folder with your sequence run data: -
Remove current running MIRA container:
-
Remove older MIRA image version:
-
Download the installation script from the internet:
curl https://raw.githubusercontent.com/CDCgov/MIRA/prod/docker-compose-cdcgov.yml | sed "s%/path/to/data%$(pwd)/%g" > docker-compose.yml
if you get a permissions error here, first run
sudo rm docker-compose.yml
then try again -
After you ensure that your Docker Desktop application is open, run the install script with
sudo
anddocker compose
:
Upgrading MIRA with four containers to MIRA single container
-
Open a terminal (Ubuntu if you installed WSL2 with this instructions, Terminal if you are using a Mac).
cd
to the folder with your sequence run data: -
Remove current running MIRA containers:
-
Remove older MIRA image versions (or iSpy or IRMA-spy if that’s what you had installed)
-
Download the installation script from the internet:
curl https://raw.githubusercontent.com/CDCgov/MIRA/prod/docker-compose-cdcgov.yml | sed "s%/path/to/data%$(pwd)/%g" > docker-compose.yml
if you get a permissions error here, first run
sudo rm docker-compose.yml
then try again -
After you ensure that your Docker Desktop application is open, run the install script with
sudo
anddocker compose
: