1、unknown shorthand flag: ‘n’ in -name
See ‘docker run --help’.
2、unknown shorthand flag: ‘r’ in -restart
See ‘docker run --help’.
解决:
-name换为–name;-restart换为–restart

1、unknown shorthand flag: ‘n’ in -name
See ‘docker run --help’.
2、unknown shorthand flag: ‘r’ in -restart
See ‘docker run --help’.
解决:
-name换为–name;-restart换为–restart