1. Docker is a tool that is designed for tasks like create, deploy and run applications easier by using containers.
2. Containers can allow a developer to pack up an application with all of the parts it needs, like libraries and other dependencies, and ship it all out as one package.
3. To expose multiple ports with docker follow the code given below:
Syntax:
docker run -p : -p :
4. To expose a single port:
Syntax:
docker run -p :
Also, you can learn more on Docker and other DevOps Tools by joining DevOps Training.