There are development tools, which are useful and powerful, and their common commands in this chapter.
#<
and >
It indicates where to fill in the specified information.
sleep <second>syntax
sleep 1example
?
The specified information may emerge zero or one time.
docker pull <repository>:<tag>?syntax
docker pull nginxdocker pull nginx:latestexample
*
The specified information may emerge zero or several times.
docker-compose up -d <service name>*syntax
docker-compose up -ddocker-compose up -d mongodocker-compose up -d mongo mongo-expressexample
|
It indicates the union of different information, choosing one to fill in.
docker run <image id|repository>syntax
docker run 4ea8fc7babb5docker run mongoexample