User Tools

Site Tools


docker:portainer:install_portainer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:portainer:install_portainer [2021/02/05 15:42] peterdocker:portainer:install_portainer [2025/05/20 17:22] (current) peter
Line 12: Line 12:
 portainer_data portainer_data
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  Portainer requires data persistence, and as a result needs at least one storage-class available to use.
 +
 +Portainer will attempt to use the **default** storage class during deployment.
 +
 +If you do NOT have a storage class tagged as **default** the deployment will likely fail.
 +
 +</WRAP>
  
 ---- ----
Line 18: Line 27:
  
 <code bash> <code bash>
-docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --restart always portainer/portainer+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:lts
 </code> </code>
  
 <WRAP info> <WRAP info>
 **NOTE:**  This will run the container to pull, install and ensure it is always running. **NOTE:**  This will run the container to pull, install and ensure it is always running.
 +
 +  * By default, Portainer generates and uses a self-signed SSL certificate to secure port 9443.
 +
 +  * Port 8000 is a SSH tunnel server and is used to create a secure tunnel between the agent and the Portainer instance.
 +    * Port 8000 is not required for all users of Portainer.
 +    * It is only necessary for those who plan to use the Edge compute features with Edge agents.
 +    * Edge computing refers to the ability to manage and deploy containers on remote devices or edge locations, such as on devices at the edge of a network.
 +    * Edge agents are components that run on these remote devices to communicate with Portainer and manage containers.
 +
 </WRAP> </WRAP>
  
Line 37: Line 55:
 ====== Configure Portainer ====== ====== Configure Portainer ======
  
-Navigate to http://yourdeviceip:9000.+Navigate to http://yourdeviceip:9443.
  
 Portainer will prompt you to set up a new password for your admin user. Portainer will prompt you to set up a new password for your admin user.
Line 58: Line 76:
 ---- ----
  
 +===== References =====
 +
 +https://docs.portainer.io/start/install-ce/server/docker/linux
 +
 +https://solid-future.com/docs/portainers-port-8000-9443-and-9000-in-docker-management/
  
docker/portainer/install_portainer.1612539747.txt.gz · Last modified: 2021/02/05 15:42 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki