Docker Community Forums

Share and learn in the Docker community.

How to identify a specific containers

Hello Docker community,

I wonder about this situation: Let’s presume that i started 2 different docker-compose files, each one creates 2 containers…
My question is: is there any way to identify from which docker-compose file was created my different containers (the docker-compose ps command doesn’t reveal anything)?
I want to know the “origin” of each container

Thanks in advance!