docker command line hosts code example
Example 1: docker it flag
docker container run -it ubuntu bash
Example 2: - d in docker
docker run -d <image name>
# -d is used for detached mode
docker container run -it ubuntu bash
docker run -d <image name>
# -d is used for detached mode