mirror of https://github.com/docker/docs.git
This fix tries to fix the issue raised in #23716 where `docker start` causes an error of `No such container:` if the container has been renamed before `docker start` returns. The issue is that `docker start` use container name passed at the beginning to check for exit code at the end of the `docker start`. This fix addresses the issue by always use container's `ID` to get the information during `docker start`. Additional integration tests have been added to cover this fix. This fix fixes #23716. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> (cherry picked from commit 6e86733b47faf0d7629751987346022544b65cb7) |
||
|---|---|---|
| .. | ||
| attach.go | ||
| commit.go | ||
| cp.go | ||
| create.go | ||
| diff.go | ||
| export.go | ||
| kill.go | ||
| logs.go | ||
| pause.go | ||
| port.go | ||
| ps.go | ||
| rename.go | ||
| restart.go | ||
| rm.go | ||
| run.go | ||
| start.go | ||
| stats.go | ||
| stats_helpers.go | ||
| stats_unit_test.go | ||
| stop.go | ||
| top.go | ||
| unpause.go | ||
| utils.go | ||
| wait.go | ||