For example, generally speaking, a docker machine will run many containers, so how do I know from which image the container was started?
As follows, IMAGE is
# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a4b3bba4a28e ubuntu:latest "/bin/bash" 5 weeks ago Up 5 weeks 0.0.0.0:14000->9000/tcp test