Skip to content

no such project: when compose run after v2.3.0 #9234

@felipecrs

Description

@felipecrs

Description

Steps to reproduce the issue:

  1. docker-compose run <service-name>
Code_VEKNefwbmT.mp4

Describe the results you received:

$ docker-compose run devcontainer
no such project: devcontainer

Describe the results you expected:

To work, as it was working before v2.3.0.

Additional information you deem important (e.g. issue happens only occasionally):

I think this is a major outage to docker-compose.

Output of docker compose version:

Docker Compose version v2.3.0

Output of docker info:

$ docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.7.0)
  compose: Docker Compose (Docker Inc., v2.3.0)
  scan: Docker Scan (Docker Inc., v0.12.0)

Server:
 Containers: 5
  Running: 1
  Paused: 0
  Stopped: 4
 Images: 47
 Server Version: 20.10.12
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 9cc61520f4cd876b86e77edfeb88fbcd536d1f9d
 runc version: v1.0.3-0-gf46b6ba
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.13.0-28-generic
 Operating System: Ubuntu 20.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.35GiB
 Name: node-10-120-10-37
 ID: ZM55:XLST:Y65X:WG3G:DF66:IOUC:D57S:6EVQ:M2VU:XSFV:XEUD:WRVR
 Docker Root Dir: /mnt/disk0/var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Registry Mirrors:
  <hidden>
 Live Restore Enabled: false

Additional environment details:

None.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions