Docker Introduction

Docker At A Glance

docker in a nutshell

Docker Components

Let's Build A Docker Container

$ sudo docker build -t <container-image-name> .
example
$ sudo docker build -t file-compressor.
$ sudo docker run -p <host-ip> (optional):<host-port>:<container-port> <container-image-name>
example
$ sudo docker run -p 8086:8086 file-compressor
#This will list down all container
$ sudo docker ps -a
#Stop the container
$ sudo docker stop <CONTAINER_ID>

Why We Don’t Use Docker In Our Software Engineering Project

References

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store