Inject service container to kernel.