I have a
systemd container running, and I can login into it with
machinectl login <container>. How can I execute a command inside the container directly, i.e. without first logging in, executing the command, and then logging out?
Another way to put it is that I'm looking for the
systemd equivalent of:
$ docker exec <container> <command>
$ ssh <host> <command>