docker run -idt ubuntu:16.04, after that we can use docker ps to see the container starts.
But if use docker compose as next and docker-compose up, we can see docker ps cannot find container, from docker ps -a we can see it exited.
version: '2'
services:
me:
image: 'ubuntu:16.04'
Question: How we could realize -idt using docker compose?