def get_init_container(self,<EOL>init_command,<EOL>init_args,<EOL>env_vars,<EOL>context_mounts,<EOL>persistence_outputs,<EOL>persistence_data):
env_vars = to_list(env_vars, check_none=True)<EOL>outputs_path = stores.get_job_outputs_path(<EOL>persistence=persistence_outputs,<EOL>job_name=self.job_name)<EOL>_, outputs_volume_mount = get_pod_outputs_volume(persistence_outputs=persistence_outputs)<EOL>volume_mounts = outputs_volume_mount + to_list(context_mounts, check_none=True)<EOL>init_command = init_command or ["<STR_LIT>", "<STR_LIT:-c>"]<EOL>init_args = init_args or to_list(<EOL>get_output_args(command=InitCommands.CREATE,<EOL>outputs_path=outputs_path))<EOL>init_args += to_list(get_auth_context_args(entity='<STR_LIT>',<EOL>entity_name=self.job_name))<EOL>return client.V1Container(<EOL>name=self.init_container_name,<EOL>image=self.init_docker_image,<EOL>image_pull_policy=self.init_docker_image_pull_policy,<EOL>command=init_command,<EOL>args=['<STR_LIT>'.join(init_args)],<EOL>env=env_vars,<EOL>volume_mounts=volume_mounts)<EOL>
Pod init container for setting outputs path.