docker see how long container running code example Example 1: docker ps view command docker ps --no-trunc Example 2: list containers docker ps -a