1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api
Yong Tang 6e86733b47 Fix docker start error with renamed container
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>
2016-06-18 16:43:30 -07:00
..
client Fix docker start error with renamed container 2016-06-18 16:43:30 -07:00
fixtures
server plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
types/backend Let client print error when speicify wrong detach keys 2016-04-04 15:35:55 +08:00
common.go Bump API Version to v1.25 2016-06-14 20:03:50 -07:00
common_test.go fix typos 2016-03-06 00:59:11 +08:00
README.md

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

  • Used by third party tools wishing to interface with the docker daemon