How to find how a container was started: "docker run" or "docker-compose up"?
When accessing a remote machine I'd like to know if a container was started over docker run or docker-compose or some other means.
Is that even possible?
EDIT: the main reason for this was to find out, where these containers are getting orchestrated, i.e. if the container goes down, will be started again? Where would that configuration be?