Please refer to this page for installing docker - https://docs.docker.com/engine/install/ubuntu/ and this one for docker-compose - https://docs.docker.com/compose/install/
Build Individual Image Using - docker build . -t <IMAGE_NAME>
Run Individual Image Using - docker run -p <HOST_PC_PORT>:<CONTAINER_PORT> <IMAGE_NAME>
Run All Using - docker-compose up