How to run ubuntu Or Alpine containers using docker-compose?

Thank you for your reploy.

Can you help me to get docker-compose file for this docker run command?
docker run -itd ubuntu