Skip to content

docker_build_with_restart does not work on MacOS when using the kind cluster #6533

@jdeschenes

Description

@jdeschenes

On a mac when using docker desktop you have two options to run a kubernetes cluster.

  1. kubeadm
  2. kind

When using the kind cluster, docker_build_with_restart does not appear to work.

You get an error essentially saying:
Build Failed: Updating pod example-go-58f4b68cf5-f4f57: copying changed files: ExecInContainer: Error response from daemon: No such container: cfb08c6ef2927cb408a9247e02c9cc33d483e2308bca7c4fd09bb3cbef6e8a66

I started tracking it down and it seems like when using a kind cluster that no container exist when running docker ps and it thus fails when trying to inspect the container.

When running the kubeadm cluster, the command works without any problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions