Skip to content

Unable to download Debian and Redhat vulnerabilities #171

@nlamirault

Description

@nlamirault

I try to use Clair using this docker-compose file :

version: '2'
services:
  postgres:
    container_name: clair_postgres
    image: postgres:latest
    environment:
      POSTGRES_PASSWORD: password

  clair:
    container_name: clair_clair
    image: quay.io/coreos/clair:v1.2.0
    depends_on:
      - postgres
    ports:
      - "6060-6061:6060-6061"
    links:
      - postgres
    volumes:
      - /tmp:/tmp
      - ./clair_config:/config
    command: [-config, /config/config.yaml]

The output logs :

clair_postgres | LOG:  database system was shut down at 2016-05-11 10:57:14 UTC
clair_postgres | LOG:  MultiXact member wraparound protections are now enabled
clair_postgres | LOG:  autovacuum launcher started
clair_postgres | LOG:  database system is ready to accept connections
clair_clair    | 2016-05-11 10:57:35.407608 I | pgsql: running database migrations
clair_clair    | goose: no migrations to run. current version: 20151222113213
clair_clair    | 2016-05-11 10:57:35.420840 I | pgsql: database migration ran successfully
clair_clair    | 2016-05-11 10:57:35.421063 I | api: starting main API on port 6060.
clair_clair    | 2016-05-11 10:57:35.421177 I | notifier: notifier service is disabled
clair_clair    | 2016-05-11 10:57:35.421360 I | updater: updater service started. lock identifier: 78140553-227c-4c6b-8cc7-7dc9a9bc4081
clair_clair    | 2016-05-11 10:57:35.421378 I | api: starting health API on port 6061.
clair_clair    | 2016-05-11 10:57:35.433223 I | updater: updating vulnerabilities
clair_clair    | 2016-05-11 10:57:35.433254 I | updater: fetching vulnerability updates
clair_clair    | 2016-05-11 10:57:35.433298 I | updater/fetchers/ubuntu: fetching Ubuntu vulnerabilities
clair_clair    | 2016-05-11 10:57:35.433381 I | updater/fetchers/debian: fetching Debian vulnerabilities
clair_clair    | 2016-05-11 10:57:35.433796 I | updater/fetchers/rhel: fetching Red Hat vulnerabilities
clair_clair    | 2016-05-11 10:57:35.444150 E | updater/fetchers/debian: could not download Debian's update: Get https://security-tracker.debian.org/tracker/data/json: dial tcp: lookup security-tracker.debian.org on 127.0.0.11:53: cannot unmarshal DNS message
clair_clair    | 2016-05-11 10:57:35.444167 E | updater: an error occured when fetching update 'debian': could not download requested resource.
clair_clair    | 2016-05-11 10:57:35.510256 E | updater/fetchers/rhel: could not download RHEL's update list: Get https://www.redhat.com/security/data/oval/: dial tcp: lookup www.redhat.com on 127.0.0.11:53: cannot unmarshal DNS message
clair_clair    | 2016-05-11 10:57:35.510274 E | updater: an error occured when fetching update 'Red Hat': could not download requested resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionsomething that couldn't be answered in the docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions