Docker is a platform tha allows you to build, ship and run any app anywhere. Docker is an open source project that is considered a standard way of solving one of the costliest aspect of Software Development - Deployment.
this the command used to control most of docker workflow and talk to remote Docker server
used to start docker server process that builds and launches container via client
is a small finely tuned Operating system Image i.e fedora that support container hosting and atomic os upgrades.
is a file that define the steps to create and run a custom Image . dockerfiles are usually read from top-to-bottom when the image is created.
FROM <REPO>:<TAG>
WORKDIR <DIRECTORY>
COPY . <DIRECTORY>
is a tool we can use to manage one or multiple containers.
Docker Image consist of files and metadata, the metadat has information on port mapping and volumes
Containers are created from Images, they inherit their metadata to determine their startup configuration. Changes to files in a container are stored within container in a copy-on-write mechanism.
-
docker command fire up the container with docker run and input command to create your image on one command line .
-
dockerfile building from known image and specify the build with a limited set of simple commands.
-docker build Build docker image -docker run run docker image as container -docker commit commit docker container as image -docker tag tag a docker image