Install Portainer CE with Docker on Linux

0. Foreword

0.2 Introduction

Portainer is an open-source container management tool that provides a user-friendly web interface for managing Docker environments. It allows users to easily deploy, manage, and monitor Docker containers, images, networks, and volumes without the need for complex command-line interfaces.

1. Deployment

1.1 Create

1
docker volume create portainer_data

1.2 Download and Install

1
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

Note:
If you require HTTP port 9000 open for legacy reasons, add the following to your docker run command:

1
-p 9000:9000

2. Logging In

Opening a web browser and going to:
SSL URL:

1
https://localhost:9443

HTTP URL:

1
https://localhost:9000

Install Portainer CE with Docker on Linux
https://www.hardyhu.cn/2023/07/23/Install-Portainer-CE-with-Docker-on-Linux/
Author
John Doe
Posted on
July 23, 2023
Licensed under