mirror of
https://github.com/docker/compose.git
synced 2026-11-18 22:27:03 +00:00
The dry-run client cannot attach to an exec, so any lifecycle hook reached under --dry-run (pre_stop on down/stop/restart, post_start on up/restart) made the command fail with "interactive exec is not supported in dry-run mode". A dry-run must have no side effects, so skip the hook in runHook, which every hook phase goes through, rather than guarding each call site. Signed-off-by: Guillaume Lours <glours@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| e2e | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||