Docker is a platform for developers and sysadmins to develop, deploy, and run applications with containers.
A container is launched by running an image.
An image is an executable package that includes everything needed to run an application--the code, a runtime, libraries, environment variables, and configuration files.
Dockerfile defines what goes on in the environment inside your container.
Docker commands
1] docker --version
2] docker info
3] docker image ls -- List all docker images
4] docker container ls --all
A container is launched by running an image.
An image is an executable package that includes everything needed to run an application--the code, a runtime, libraries, environment variables, and configuration files.
Dockerfile defines what goes on in the environment inside your container.
Docker commands
1] docker --version
2] docker info
3] docker image ls -- List all docker images
4] docker container ls --all