How to install Docker for Mac stable using only command line?

We often install or ugrade Docker for Mac (Docker.app) using GUI or brew (Homebrew).

However, launching the application, we will ask prompted for administrator privileges to install networking Components on GUI.

In other words, we cannot install Docker for Mac only on the command line.

I am in trouble because I can not automate the setting.
If anyone knows how to install Docker for Mac with command line only, please tell us.

I am new to Docker on Mac and I am also interested in knowing the answer to this question.

Kenchan0130, I saw your question was posted more than 1 year ago. Have you able to find a way to install on the command line? If so, please share with me. Thank you so much