For future support and updates I would recommend using docker compose plugin (Notice the missing dash) which can be install via the docker-compose-plugin package. $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/nullĪlso make sure Docker Engine and other needed dependencies are installed: sudo apt-get install docker-ce docker-ce-cli containerd.io Make sure the following packages are installed: sudo apt-get install \Īfter that add the official Docker GPG Key: sudo mkdir -p /etc/apt/keyringsĬurl -fsSL | sudo gpg -dearmor -o /etc/apt/keyrings/docker.gpgĪnd finally add the the stable repository: echo \ The following instructions assume that you are using Ubuntu as Distro or any Distro thats using apt as package manager. Installation of docker compose plugin sudo apt-get install docker-compose-pluginĪny future updates of the plugin are easily applied via apt.įor further reference take a look at the official installation instructions of Docker Engine and Docker Compose.įollow my answer below if you're using Centos7 with an x86-64 architecture. This answer is also available in my github. I noticed other answers did not talk about stopping your docker containers/images instances before attempting to upgrade gracefully. Onward we go! Options to update Docker-Compose Assumptions are inevitable but can be costly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |