Skip to content

[Enhancement]: Support Docker desktop on Linux #6426

@sergeda

Description

@sergeda

Module

Core

Proposal

Currently, when I try to run Testcontainers on Linux with Docker desktop installed I get this error:

2023-01-20T13:06:37.525GMT+02:00 INFO  o.testcontainers.DockerClientFactory  - 0 0 - Connected to docker: 
  Server Version: 20.10.21
  API Version: 1.41
  Operating System: Docker Desktop
  Total Memory: 4178 MB
2023-01-20T13:06:37.595GMT+02:00 INFO  🐳 [testcontainers/ryuk:0.3.3]  - 0 0 - Creating container for image: testcontainers/ryuk:0.3.3
2023-01-20T13:06:37.613GMT+02:00 INFO  o.t.utility.RegistryAuthLocator  - 0 0 - Credential helper/store (docker-credential-desktop) does not have credentials for https://index.docker.io/v1/
2023-01-20T13:06:37.745GMT+02:00 INFO  🐳 [testcontainers/ryuk:0.3.3]  - 0 0 - Container testcontainers/ryuk:0.3.3 is starting: 71cb2840729392cf9a66d23edfae5dcfcc2b5f36d9bf6e30e99052019455191f
2023-01-20T13:06:38.182GMT+02:00 ERROR 🐳 [testcontainers/ryuk:0.3.3]  - 0 0 - Could not start container
com.github.dockerjava.api.exception.NotFoundException: Status 404: {"message":"No such container: 71cb2840729392cf9a66d23edfae5dcfcc2b5f36d9bf6e30e99052019455191f"}

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