Hello.
One possible way of doing it is to install systemd
(service manager) into a container and leverage its capabilities to run the required command.
See this thread for a very much relevant discussion, including the systemd
example instructions.