Rebuild app not working on Ubuntu 16.04

Your Ubuntu server is too old while you may have an up-to-date docker. You likely have other dependencies that are also outdated/obsolete

You will want to see about refreshing a new server and new install of discourse. Then transfer restore a backup of your discourse.

You may need to consider posting in Marketplace if you need assistance accomplishing this feat with your current install being very out of date.