mirror of
https://github.com/docker/compose.git
synced 2026-09-24 22:44:24 +00:00
- TestExposeRange keeps its regression link (#13378), the invariant being simply that up accepts a port range in expose. - TestUpContainerNameConflict interpolates a project-scoped container_name instead of the fixture's global 'test', so parallel runs cannot collide on it. - TestIPC demonstrates the CLI() escape hatch: the external container the 'container:' mode points at is created eagerly before the steps, so its id is available to the declarative checks. (Runs only in CI: ipc container: mode is rejected by Docker Desktop and dind daemons — 'restricted host mount' — for the legacy test as well.) - wait scenarios observe which services exited instead of trusting the command's silence; TestWaitOnInfinity stays legacy, the DSL has no notion of a still-running command. The wait fixture stays for it; ipc-test and container_name fixtures are removed. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
13 lines
238 B
YAML
13 lines
238 B
YAML
services:
|
|
service:
|
|
image: alpine
|
|
command: top
|
|
ipc: "service:shareable"
|
|
container:
|
|
image: alpine
|
|
command: top
|
|
ipc: "container:${EXTERNAL_NAME}"
|
|
shareable:
|
|
image: alpine
|
|
command: top
|
|
ipc: shareable
|