-name deprecated in Docker

So it ran after you made the first change? It's possible it only warns about one at a time.