When a container is run on a --attachable network, the endpoint configs passed by the user were incorrectly overwritten. Copy the relevant configs instead of overwriting the entire configs. Signed-off-by: Madhu Venugopal <madhu@docker.com> Upstream-commit: c5dd4d70c6ea3371d61409112a45c0573280111d Component: engine