I would recommend that great academic (but very digest) book titled "Against Intellectual Monopoly" to understand why the answer is most certainly "no" (though, their answser is closer to "yes" for pharmacetical patents).
You actually do not need any licence (though a docker account is needed) to use docker sandboxes with the CLI. It's at least what the linked page says (ans my own experience ;)