Portainer - A Easy way to Create and Manage Container

Portainer - A Easy way to Create and Manage Container
Photo by Dominik Lückmann / Unsplash

It's a application that makes our lives easy for managing containers. It also gives support for managing docker images in various registries, as well you can create docker stack with the inbuilt editor. https://docs.portainer.io/start/intro

Installation

Using docker

# Create a docker volume
docker volume create portainer_data

# Portainer Community Edition
docker run -d -p 8000:8000 -p 9000:9000 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

# You can use port 9443 which is encrypted with self-signed SSL

Setup - Environments

Need to create an admin user with a strong password, after signup clicks on getting started with work with local docker which is connected to host docker sock.

Which will end up in the dashboard with all general information about stacks, containers, images, and others.

Inspection of Docker containers will be much more similar by clicking on them and viewing their details through UI.  Even docker logs can be monitored in real-time.

Alternatives for Portainer

  1. Yacht - A web interface for managing docker containers with an emphasis on templating to provide 1 click deployments. Think of it like a decentralized app store for servers that anyone can make packages for.
  2. DockStation - is a developer-centric application for managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers while using just a GUI.
  3. LazyDocker - A simple terminal UI for both docker and docker-compose, written in Go with the gocui library.