Closed Agosits closed 4 weeks ago
please run docker compose inspect foo-web-1 foo-web -f '{{.Config.Labels}}'
to check container labels.
please run
docker compose inspect foo-web-1 foo-web -f '{{.Config.Labels}}'
to check container labels.
It seems there no command docker compose inspect
Do you mean docker inspect
?
Here are the results of docker inspect foo-web-1 foo-web -f '{{.Config.Labels}}'
map[com.docker.compose.config-hash:4ef3ed229dd80dafa13ce60de8ff42c3663bc1645050457611867b3f6585f0fc com.docker.compose.container-number:1 com.docker.compose.depends_on:redis:service_started,mysql:service_started com.docker.compose.image:sha256:35d87234a5e4e34a1cacd766bf2731a437c18bcb8aa206cb3d3aa27971655b10 com.docker.compose.oneoff:False com.docker.compose.project:foo com.docker.compose.project.config_files:/path/to/foo/docker-compose.yml com.docker.compose.project.working_dir:/path/to/dir com.docker.compose.service:web com.docker.compose.version:2.15.1]
map[com.docker.compose.project:foo com.docker.compose.service:web com.docker.compose.version:2.15.1]
yes indeed, sorry for the confusion. I can't see any obvious reason for this bug :'(
I'm closing this issue as obsolete, with no activity for > 1 year If issue is still relevant, please comment or create a follow-up issue
Description
$ docker compose exec web bash => service "web" is not running container #1 $ docker compose ps | grep web foo-web-1 foo-web "cmd foo" web 21 hours ago Up 6 hours 127.0.0.1:xxxx->80/tcp
But
docker-compose-v1 exec web bash
works well. I was work on macOS 13.0.1 (22A400) with chip Apple M1 ProSteps To Reproduce
No response
Compose Version
Docker Environment
Anything else?
No response