I knew Docker couple years ago but I never had the chance to work with it. All that I knew was that it's a software used in production/deployment of applications to help in making a single file for all of the application's dependencies and required packages. Imagine once you finish building your full stack application with the MEAN stack and you're ready for deployment, then you're gonna need something to aid you in the process and make it automated; like Docker.
Stack is like a pile of books placed on top of each other. We can add new books to the top and can remove them from only the top because stacks are LIFO which means last-in, first-out. Queues on the other hand are the opposite, which is FIFO meaning first-in, first-out. So adding an element to the queue will be the same but removing will happen to the first element not the last one. An example of a queue would be the wait line in front of any kind of service we see around us like the bus station or the shops,....etc.
Comments
Post a Comment