Skip to content

[BUG]: No data was written into the file (Docker@2) #17893

@JtMotoX

Description

@JtMotoX

Task name

Docker@2

Task version

2.214.0

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Debian 11

Issue Description

I am getting this warning:

##[warning]No data was written into the file /home/vsts/work/_temp/task_outputs/build_****.txt

This was originally brought up in #12470 but the issue was closed without it being resolved. Many users (including myself) are still facing this issue.

Task log

. . .
#8 exporting to image
#8 sha256:***
#8 exporting layers done
#8 writing image sha256:*** done
#8 naming to *** done
#8 DONE 0.0s
##[warning]No data was written into the file /__w/_temp/task_outputs/build_***.txt
Finishing: Docker build

Aditional info

- task: Docker@2
  inputs:
    command: 'build'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions