Home >Operation and Maintenance >Docker >Where to enter docker command
Docker commands are entered in a terminal window, such as Terminal on Linux and macOS or Command Prompt on Windows. The steps include: 1. Open a terminal window; 2. Enter the Docker command (such as docker run); 3. Press Enter to execute the command. Tip: You can use docker --help to get help. Some commands require root privileges.
Docker command input location
Docker commands are usually entered in the terminal window. On different operating systems, the terminal window may have different names.
Steps
Open a terminal window:
Enter the Docker command:
docker run
or docker build
. Press the Enter key to execute the command:
Tips
docker --help
at any time to learn about Docker’s help information . The above is the detailed content of Where to enter docker command. For more information, please follow other related articles on the PHP Chinese website!