Install Portainer on Ubuntu 22 04

Опубликовано: 04 Октябрь 2024
на канале: james kiarie
441
7

#portainer #docker #Ubuntu22

This video demonstrates how to install Portainer on Ubuntu 22.04 and manage Docker containers.

Prerequisites:

Ensure Docker is installed:

   • Install Docker on Ubuntu 22 04  

Step 1: Create a persistent volume

docker volume create portainer_data

Step 2: Deploy the Portainer container

docker run -d -p 9000:9000 --name portainer_ce --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

Step 3: Access Portainer from a browser

http://server-ip:9000

Timestamps

0:00 Introduction

2:35 Install Portainer

6:00 Access Portainer from a web browser

10:25 Create Nginx container