login server
docker ps
This command is to view all running services
explain in turn
First column: container id
The second column: image name (here I also use the service name)
The third column: the directory
Fourth column: Startup time
Fifth column: Status
Sixth column: ip port
Seventh column: container name
docker logs -f container id
container id
This will dynamically print the log