docker version current code example Example 1: check docker version docker version Example 2: docker current version docker --version