To follow the log files in a container on a dedicated server:
ssh -t <servername> "sudo docker container logs <containername> --follow"
This assumes you have a ssh keypair set up on your server. (ssh-keygen -t ed25519
copy the pvt key to your workstation .ssh folder and create an entry in .ssh/config)
Donโt forget to add your topic to the Howto/FAQ Wiki!