Run image by docker run command
docker run #Tell docker to start container
–name <container_name> #Provide Container Name
-d #Start container in detached mode
-p <ip:designated_port>:800 #Provide IP and Po
<image_name> #docker image name
Sample execution
docker run –name <example_container_name> -d -p 127.0.0.1:8000:8000 <docker image name>
Check the container status
docker ps
Check the container logs
docker logs <CONTAINER ID or container name from NAME column>