docker compose

Docker and Docker Compose Installation

April 29, 2023
docker, docker compose, software

Install Docker and Docker Compose Installation # https://docs.docker.com/engine/install/ubuntu/ https://docs.docker.com/engine/install/linux-postinstall/ Install Docker Engine # Uninstall old versions # for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done Set up the repository # Update the apt package index and install packages to allow apt to use a repository over HTTPS: sudo apt-get update && sudo apt-get install ca-certificates curl gnupg lsb-release Add Docker’s official GPG key: sudo install -m 0755 -d /etc/apt/keyrings \ && curl -fsSL https://download. ...