How can we run docker container and destroy using terraform in oci platform?

I have created a compartment. Also having a instance with 3 services which are running through the docker container. I use these services through Mobaxterm using SSH key (Ubuntu 18.04) .I want to use these three services through terraform command. I have created manually all the things. So how can I do that using terraform?suggest a script please