Above:
Use docker run --name nginx -p 8081:8081 -d nginx to start nginx, life and death cannot be accessed
Solution: First determine which port is listening in the container, and then map it. The nginx mirror container defaults to port 80, so you can map it like this: docker run --name nginx -p 8081:80 -d nginx
Get it done