RUN in docker code example Example 1: docker run name docker run --name -dp : Example 2: docker run command on container sudo docker exec -it