Set the following environment variable to 1:

DOCKER_HIDE_LEGACY_COMMANDS

Windows example

set DOCKER_HIDE_LEGACY_COMMANDS=1

To make this persist in windows, add this to windows environment variables.