Without some error message, we have no way to diagnose why it shut down.
Check your system settings around RAM usage. Many distributions of Linux are configured to kill processes that use large amounts of RAM. Mainnet currently has 43.69 GiB of reserved RAM. Not all of it is in use, but a good deal of it is. A system or container with less than 8 GB available is unlikely to be able to run a mainnet-synched nodeos.