Make --attach case-insensitive

Docker-DCO-1.1-Signed-off-by: Tibor Vass <teabee89@gmail.com> (github: tiborvass)
Merge pull request #7325 from tiborvass/case-insensitive-attach

Make --attach case-insensitive