
If you are installing custom version of docker and If the docker is already present on the system, The above commands with either Upgrade or Downgrade the docker version depending on the currently installed version of Docker. Lets install the above mentioned version using the below command. To install the specific version, Use can select the version string from the second column. Yum list docker-ce -showduplicates | sort -r If you wish to install the specific version of docker engine from the repository.First list the available versions in the repo and then we will install the specific version of docker. docker command, a command line tool, called as docker client.ĭocker engine can be installed in different ways.Ī)Setup Docker repository on the system and install using it.ī)Download the RPM package and installing packages manually.A REST API which specifies the interface that programs can use to communicate with daemons and run commands against it.
A docker daemon (the dockerd command), which is a long running program, Also referred as a service. Check the status of the running applicationsĭocker Engine is an Client-server application which has 3 major components.
Then Run docker-compose up to start and run the applicationsĭocker compose can perform the following actions:.
Define the services that will create an application in docker-compose.yml file so that they can run together in an isolated environments. Define the application’s environment in Dockerfile. We will use YAML file to confgiure definitions for the applications and services.Once the compose file is ready, We can easily deploy and manage docker applications using the single file.ĭocker compose is basically a three step process: Using docker, We can segregate the applications from the infrastructure, By doing so we can quickly deliver the applications.ĭocker compose is a tool for defining and running multi-container docker applications.