Docker container not in demon in AWS

Expected behavior

not running as demon

Actual behavior

it is running with -it option

Additional Information

I have create one simple docker image using below docker file in AWS .
Docker file :
FROM centos:latest
RUN yum update
RUN yum install -y httpd
RUN echo “test http” >>/var/www/html/index.html

create image with below command
docker build -t webtest:v1 .
Docker image also created .
Docker_Practice]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
webtest v1 33965ee7952b 44 seconds ago 334 MB
run the container as deamon
Docker_Practice]# docker run -d --name webtest -p 8080:80 webtest:v1
1614ac566370ca093b24fc893cdc8f47d3d31147ffef8b28905e0f31d9610e18
[root@Docker_Practice]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@ Docker_Practice]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1614ac566370 webtest:v1 “/bin/bash” 7 seconds ago Exited (0) 7 seconds ago webtest