Giter Site home page Giter Site logo

error during connect: Get "https://docker:2376/v1.24/containers/json?all=.." tls: failed to verify certificate: x509: certificate signed by unknown authority about gitlab-ci-local HOT 5 CLOSED

david-nano avatar david-nano commented on June 16, 2024
error during connect: Get "https://docker:2376/v1.24/containers/json?all=.." tls: failed to verify certificate: x509: certificate signed by unknown authority

from gitlab-ci-local.

Comments (5)

firecow avatar firecow commented on June 16, 2024 1
---
test-job:
  image: docker:24.0.2-git
  services:
    - name: registry.hub.docker.com/library/docker:24.0.2-dind
      alias: docker
  script:
    - docker version

Using this .gitlab-ci-local-env

PRIVILEGED=true
ULIMIT=8000:16000
VOLUME="/etc/docker/daemon.json:/etc/docker/daemon.json certs:/certs/client /netapp:/netapp"
VARIABLE="DOCKER_TLS_CERTDIR=/certs DOCKER_BUILDKIT=0 COMPOSE_DOCKER_CLI_BUILD=0"

I'm not seeing the symptom, when using a simple example.

https://gitlab.com/firecow/gitlab-ci-debugging/-/jobs/6254313223

image

Strip down your example, line by line, instruction by instruction, and eventually I'm sure we will get to the bottom of this.

from gitlab-ci-local.

firecow avatar firecow commented on June 16, 2024

Please, get rid of as many factors and yaml as possible.

This is not an as simple as possible example at all 😁

It makes it overly difficult for others to debug.

from gitlab-ci-local.

david-nano avatar david-nano commented on June 16, 2024

Please, get rid of as many factors and yaml as possible.

This is not an as simple as possible example at all 😁

It makes it overly difficult for others to debug.

Is it better now?

from gitlab-ci-local.

firecow avatar firecow commented on June 16, 2024

I would be nice to add some sort of hint for others that might end up in a similar situation.
What was your mistake?

from gitlab-ci-local.

david-nano avatar david-nano commented on June 16, 2024

I would be nice to add some sort of hint for others that might end up in a similar situation. What was your mistake?

Not reproducible :(
The next business day, everything worked, not sure why.

from gitlab-ci-local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.