Nodegrid supports docker virtualization and to run docker you require a license. All you need is to install the license and activate the docker in Nodegrid.
If the license is not installed on the device, docker might not run at all or container would exit after some time.
Please follow these steps to check whether a license is installed on Nodegrid,
Login as admin in CLI and type show /settings/license/
The output of this command will show the currently installed license with type.
Please follow this Knowledge Base for installing and activating docker in Nodegrid.