Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bug: agentcontainers log spam if Docker is unavailable #18709

Closed
Assignees
mafredri
Labels
s3Bugs that confuse, annoy, or are purely cosmetic
@spikecurtis

Description

@spikecurtis

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The following log is dropped at error level, over and over by the Agent if there is no Docker running.

Relevant Log Output

2025-07-02 06:03:56.330 [erro]  containers: updater loop ticker failed ...    error= list containers failed:               github.com/coder/coder/v2/agent/agentcontainers.(*API).updateContainers                   /home/coder/repos/coder/agent/agentcontainers/api.go:571             - run docker ps:exit status 1:"Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?":               github.com/coder/coder/v2/agent/agentcontainers.(*dockerCLI).List                   /home/coder/repos/coder/agent/agentcontainers/containers_dockercli.go:255             -exit status 1

Expected Behavior

Not logged so frequently, and/or at debug rather than error.

Steps to Reproduce

Start a workspace without Docker running in it and look at agent logs

Environment

Additional Context

No response

Metadata

Metadata

Assignees

Labels

s3Bugs that confuse, annoy, or are purely cosmetic

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp