start docker image code example
Example 1: how to start docker
systemctl start docker.service
#(OR)
systemctl start docker
# it will start docker
Example 2: docker run image
docker run <image id> --name 'container name'
Example 3: how to build docker image
docker build <Dockerfile path> -t image-name
Example 4: start docker image
docker start centos
Example 5: start a docker container
$ docker start <container_id>
Example 6: docker how to run existing container
docker start <container-name/ID>