I hope to hell you don't try to use the update button inside NC when running a docker image. The web updater is trash in any case, but in a docker that would be a real fuckup.
You update docker with a docker pull and I've never had it fail. It just quietly upgrades the database and goes along it's merry way.