docker check process in container code example Example 1: docker ps view command docker ps --no-trunc Example 2: list containers docker ps -a