Portainer

Posted under » System Admin on 08 Apr 2025

From docker ..

Portainer needs persisting data (for storing user password for example). Let's create a docker volume to store this data.

$ docker volume create portainer_data
$ docker volume inspect portainer_data 

Now run it on port 9000

$ 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:2.21.4

Here is the detail of each option:

The first time Portainer starts, it asks you to set a password. The password must be at least 12 characters. Once the password is entered, you are in business.

web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS data