mmzoqa.blogg.se

Yum docker
Yum docker












yum docker

In this section, we’ll show how to use Docker Compose to run a WordPress stack on your CentOS 7 machine.įor the project and navigating into it: mkdir my_app & cd my_app The output will look something like this: docker-compose version 1.23.1, build b02f1306 To verify the installation type the following command to print the Compose version: docker-compose -version Once the download is complete, make the binary executableīy typing: sudo chmod +x /usr/local/bin/docker-compose Start by downloading the Docker Compose binary into the /usr/local/bin directory using the following curlĬommand: sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose Before downloading the Compose binary visit the Compose repository release page on GitHubĪnd check if there is a new version available for download.Ĭomplete the following steps to install Docker Compose on CentOS 7: The recommended method for installing Docker Compose on CentOS 7 is by downloading the Compose binary from the Docker’s GitHub repository.Īt the time of writing this article, the latest stable version of Docker Compose is version 1.23.1. Logged in as a user with sudo privileges.Prerequisites #Įnsure that you met the following prerequisites before continuing with this tutorial: We will also cover the basic Docker Compose concepts and commands. This tutorial walks you through installing the latest version of Docker Compose on CentOS 7. With Compose, you define the application’s services, networks and volumes in a single YAML file, then spin your application with a single command.Ĭompose can be used for different purposes such as single host application deployments, automated testing, and local development. Install Portainer in CentOS 7 to Make Docker Management Easier














Yum docker