Skip to content

"Cannot determine project root directory for Docker sandbox." error even when Docker support is disabled #4864

@Kleidukos

Description

@Kleidukos

General summary/comments (optional)

Stack produces a docker-related error when trying to create a new project

❯ stack new lol
Cannot determine project root directory for Docker sandbox.

Steps to reproduce

  1. Configure `config.yaml to explicitly disable Docker:
docker:
  enable: false
  1. Run stack new <name>

  2. Weep.

Stack version

❯ Version 2.1.1, Git revision f612ea85316bbc327a64e4ad8d9f0b150dc12d4b (7648 commits) x86_64 hpack-0.31.2

Method of installation

  • stack upgrade from the latest version

How to resolve this

  1. Removing ~/.stack and /usr/local/bin/stack
  2. Reinstall Stack

Does it solve it entirely?

No. It comes back after a while.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions