start a container with cmd code example Example 1: docker run name docker run --name -dp : Example 2: docker start container $ docker start my_container