Adam Culp of Beachcasts creates a new Github Personal Access Token, for authenticating, then a new Docker image. And uploads it as a Github Package Registry, for creating Docker containers for use in continuous delivery and continuous integration.
Trying to searching on goolge but you couldnt find any best solution. Read this post for more information
A simple script that will create Docker-Compose files of your active containers so that you can back them up or use them on another server to re-create your containers.