Deploy Symfony with Capistrano in Docker container

Normally I’m developping Symfony applications with Docker and deploy them with Capistrano to a server. I would also like to use Docker in production, but I can not figure out how to make the deploy with Capistrano. I only found this tutorial ( but it’s to complex for what I really need.

SSH keys?
Configure Capistrano inside de Docker container?


Source: StackOverflow