Added Container-Linking#18
Conversation
Linking is now available through StartContainerCmd
|
@elektro-wolle Thank you for your contribution! It would be nice to have a test case for this. Any chance? |
|
I've tried to built a testcase but unfortunately the inspect command does not retrieve the current links. This is fixed in the docker remote-api v.1.13 (https://docs.docker.com/reference/api/docker_remote_api/#whats-new) but I'm currently stuck to a previous version. |
|
@elektro-wolle I currently work on v.1.13 compatibility. So i will write a simple test case myself and merge your commits into master afterwards. |
|
@elektro-wolle I've written a simple test now. See StartContainerCmdTest. Maybe we could use your Links class in ContainerInspectResponse.HostConfig.Links sometimes also. |
Linking is now available through StartContainerCmd