Docker's see the underlying information.
docker inspect returns a file recorded JSON configuration and status information Docker containers
the Inspect NAMES Docker
# View all container status information; Inspect --format = Docker '{{.}} NetworkSettings.IPAddress' ID / NAMES
# ip address container See Inspect --format Docker '.Name} {} {} {} {.State.Running' NAMES
# vessel operating state
View Process
docker top NAMES
See port; (ID or name of the container using the container)
docker port ID/NAMES
View IP addresses can also be used directly by executing remote commands can (Centos7);
docker exec -it ID/NAMES ip addr
Original Source: https: //www.cnblogs.com/sharesdk/p/10185931.html