📅  最后修改于: 2023-12-03 15:17:08.761000             🧑  作者: Mango
Kitematic is a popular GUI tool for Docker container management. It provides an easy-to-use interface to manage and monitor Docker containers, making it a favorite among developers who want to avoid the command line. However, it also provides an integrated shell terminal for users who prefer the command line experience.
To use the shell terminal in Kitematic, first, you need to install Kitematic on your Windows machine. You can download it from the official website of Docker:
https://www.docker.com/products/docker-desktop
Once you have installed Kitematic, launch it, and you will see the main interface of the tool. Click on the Settings
icon at the top right corner of the interface, and then click on the General
tab. Under General
settings, check the Enable shell for Docker CLI
option to enable the shell terminal in Kitematic.
The shell terminal in Kitematic is powered by Bash, a popular Unix shell. To open the shell terminal, click on the CLI
button on your Docker container's overview page. This will open the shell terminal in a separate window.
In the shell terminal, you can execute any Linux command you want. You can also use bash scripting to create scripts that automate common tasks. For example, you can use the following commands to create a new folder and a new file inside that folder:
mkdir myfolder
cd myfolder
touch myfile.txt
Kitematic is a powerful tool for Docker container management that offers both a user-friendly GUI and a command-line interface. The shell terminal in Kitematic allows developers to execute Linux commands and bash scripts, making it a versatile tool for managing Docker containers. If you are a developer who prefers using the command line, then you should definitely give Kitematic a try!