Configure dangling container clean-up #2

Closed
opened 2020-09-13 08:06:39 +00:00 by decentral1se · 1 comment
Owner

Currently blowing up. I guess it is a good idea for the bot to clean itself up.

renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |  WARN: Error removing dangling containers
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |        "err": {
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |          "killed": false,
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |          "code": 1,
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |          "signal": null,
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |          "cmd": "docker ps --filter label=renovate_child -aq",
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |          "stdout": "",
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |          "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission denied
",
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |          "message": "Command failed: docker ps --filter label=renovate_child -aq
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission denied
",
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |          "stack": "Error: Command failed: docker ps --filter label=renovate_child -aq
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission denied

    at ChildProcess.exithandler (child_process.js:303:12)
    at ChildProcess.emit (events.js:315:20)
    at ChildProcess.EventEmitter.emit (domain.js:483:12)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)"
renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm    |        }
Currently blowing up. I guess it is a good idea for the bot to clean itself up. ``` renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | WARN: Error removing dangling containers renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "err": { renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "killed": false, renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "code": 1, renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "signal": null, renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "cmd": "docker ps --filter label=renovate_child -aq", renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "stdout": "", renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission denied ", renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "message": "Command failed: docker ps --filter label=renovate_child -aq Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission denied ", renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | "stack": "Error: Command failed: docker ps --filter label=renovate_child -aq Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json?all=1&filters=%7B%22label%22%3A%7B%22renovate_child%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission denied at ChildProcess.exithandler (child_process.js:303:12) at ChildProcess.emit (events.js:315:20) at ChildProcess.EventEmitter.emit (domain.js:483:12) at maybeClose (internal/child_process.js:1021:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)" renovate_bot_renovate.1.z19ju0zjj648@autonomic-swarm | } ```
Author
Owner
:confused: https://www.digitalocean.com/community/questions/how-to-fix-docker-got-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket?answer=58080 :confused:
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: autonomic-cooperative/renovate-bot#2
No description provided.