Used docker-compose to dockerized a web application. It includes app/db.
I separated the images from app/db and put them into docker-compose.yml file.
So run $ docker-compose build can build all the images. And run $ docker-compose up can start all the container services.
But, I want to make a hole image like $ docker build -t app ., how to run it?
I tried $ docker run -it app but not work as $ docker-compose up.