Sage 9 Singletons using Illuminate\Container?

I noticed that Sage 9 includes “Illuminate\Container\Container”.

I’m working with some legacy code and am in need of a Singleton. Is it possible to use the Service Container for this purpose.

I see the documentation on the singleton method for Laravel, but I’m unsure how that would translate.

Thanks for any help you can provide.