Skip to content

Cannot find binary for binary container logging. #5786

@choihca

Description

@choihca

Description

Containers are unable to start when using binary logging for containerd in Windows. The binary is unable to be found even when providing an absolute path. The error could exist in LogURIGenerator method. The issue is related to filepath.Clean which will change the path for Windows to start with \. Then the check !strings.HasPrefix(path, "/") fails in the next line.

Describe the results you received:

Returns the error"absolute path needed".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions