Docker auto compose usage ./docker-autocompose <containerid> [compose file] it will inspect the container and output the compose file to stdout or to a file if specified.