Ubuntu 20.04 MsSQL Docker container breaks after restarting
The Docker container with the Database breaks after restarting the system. After the installation everything is working, but after restarting the OS the docker container is stuck in a "Restart" status. Tested in a VM Ubuntu Desktop 20.04 (VirtualBox). Note that this doesn't happen for Ubuntu Desktop 18.04 (also tested in a VM).
The relevant error seems to be: /opt/mssql/bin/sqlservr: The file archive [/opt/mssql/lib/sqlservr.sfp] is invalid. Please resolve and try again.
Get docker logs:
sudo docker logs --tail 50 --follow --timestamps ADOXX15EN
After restart (power off and power on again):
Links to discussions with this problem: