Docker Patching Guide

I’ll have docs in the repo on this topic tomorrow, but if you were wanting to patch a 5.0.1 container to pick up the latest 5.0.1-2 release?

#!/bin/sh
OE_INSTANCE=$(docker ps | grep _openemr | cut -f 1 -d " ")
docker exec -it $OE_INSTANCE wget https://www.open-emr.org/patch/5-0-1-Patch-2.zip
docker exec -it $OE_INSTANCE unzip -o 5-0-1-Patch-2.zip
docker exec -it $OE_INSTANCE rm 5-0-1-Patch-2.zip
# visit http://<your-instance>/sql_patch.php

Now, if you’re trying to upgrade a 5.0.0 container, you’ll want openemr-devops/upgrade.md at master · openemr/openemr-devops · GitHub instead.

1 Like