Generate a sample docker run

def generate_docker_run(self):
        """ Generate a sample docker run
        """
        example = []
        example.append("docker run -it")
        for key in sorted(list(self.spec.keys())):
            if self.spec[key]['type'] in (dict, list):
                value = f"\'{json.dumps(self.spec[key].get('example', ''))}\'"
            else:
                value = f"{self.spec[key].get('example', '')}"
            string = f"     -e {self.env_prefix}_{key.upper()}={value}"
            example.append(string)
        example.append("     <container-name>")
        print(" \\\n".join(example))