Install Docker on Ubuntu 22_04

Описание к видео Install Docker on Ubuntu 22_04

This is part one of the series to prepare the environment to install the Tintri Remote VMware Client Plugin or rVCP. The rVCP plugin is not a docker container and this video is a quick run through in getting Docker setup.
These are the commands run
1. Update the apt package index.
sudo apt-get update
2. Install the packages to allow apt to use a repository over HTTPS.
sudo apt-get install ca-certificates curl gnupg
3. Add Docker's official GPG key by running the following 3 commands in order.
sudo install -m 0755 -d /etc/apt/keyrings
4.
sudo curl -fsSL https://download.docker.com/linux/ubu... -o /etc/apt/keyrings/docker.asc
5.
sudo chmod a+r /etc/apt/keyrings/docker.asc
4. Use the following command to set up the repository. Add the repository to Apt sources: this is the one with the most issues as I can't the correct statement in the comments, see the video for the differences
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list Greater than sign /dev/null
5. Update the apt package index
sudo apt-get update
6. Install Docker Engine, Container, and Docker Compose
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
7. Verify the installed docker version.
sudo docker version
8. Verify whether the docker service is enabled.
sudo systemctl status docker
9. Enable the docker service with the following command, If it was not enabled.
sudo systemctl enable docker

Комментарии

Информация по комментариям в разработке