Docker is a containerization platform that allows developers to package an application with all of its dependencies into a standardized unit for software development.
Docker commands are the set of instructions that Docker uses to interact with the Docker daemon. These commands are used to create, start, stop, and remove containers.
- Find the docker and docker-compose version
Find the docker-compose command version
- docker build
Generate an image container from a Dockerfile. Dockerfile is a text file that contains set of instructions with all dependenent commands.
- docker cp command
It is a copy command in Docker.
It copies the files and folders between local system to/from container.
- docker commit command
Commits changes to a container’s filesystem and creates a new image from those changes
docker create create command allow you to create a docker image
docker diff diff allow you to view the difference of files and folder
docker exec exec command executes the commands in container