Docker supports running containerized processes from images.
An official docker opctl image is maintained on docker hub (as of v0.1.15), which features a ready to use opctl node.
The container runtime in this case will be an embedded docker daemon, which leads to the
--privilegedflag being required
docker run --privileged opctl/opctl:0.1.24 opctl run github.com/opspec-pkgs/uuid.v4.generate#1.0.0