-name deprecated in Docker

Doesn't this one have the same problem?