docker inspect --format='{{.LogPath}}' dm8_db

dm8_db为容器名称