If you need a newer release, you may either enable Ubuntu’s Universe repository and get a newer package, or even download and install the latest release directly from the Docker Compose website: # curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose The version shown above (1.17.1) was released in November 2017. To test it is installed you can check it’s version: $ docker-compose -vĭocker-compose version 1.17.1, build unknownĭocker Engine and Docker Compose versions are important since their releases are frequent and features are added and removed. In Ubuntu 18.04 installing Docker Composer is straightforward: # apt install docker-compose Let’s start installing it and then write the Compose file. Connecting them through the network, making them share disk volumes, and passing environment variables can easily turn into a sequence of commands that are difficult to document and maintain over time. But frequently applications require that different containers are up and communicating with each other. We have so far seen how Docker is great for managing images and starting containers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |