How to Install and Use Docker Compose on Ubuntu 18.04 ... | ubuntu docker-compose
DockerCompose[1]isatoolthatallowsyoutodefineandmanagemulti-containerDockerapplications.ItusesaYAMLfiletoconfiguretheapplication’sservices,networks,andvolumes.Composecanbeusedfordifferentpurposes.Singlehostapplicationdeployments,automatedtesting,andlocaldevelopmentarethemostpopularusecasesforDockerCompose.Inthistutorial,we’llshowyouhowtoinstallthelatestversionofDockerComposeonUbuntu18.04andexplorethebasicDockerComposeconceptsandcommands.ThesameinstructionsapplyforUbuntu16.04andanyotherDebianb...
Docker Compose[1] is a tool that allows you to define and manage multi-container Docker applications. It uses a YAML file to configure the application’s services, networks, and volumes.
Compose can be used for different purposes. Single host application deployments, automated testing, and local development are the most popular use cases for Docker Compose.
In this tutorial, we’ll show you how to install the latest version of Docker Compose on Ubuntu 18.04 and explore the basic Docker Compose concepts and commands.
The same instructions apply for Ubuntu 16.04 and any other Debian based distribution, including Debian, Linux Mint and Elementary OS.
Prerequisites #[2]Make sure that you have met the following prerequisites before continuing with this tutorial:
Install Docker Compose on Ubuntu #[3]The Docker Compose installation package is available in the official Ubuntu 18.04 repositories but it may not always be the latest version. The recommended approach...