Advertisement
thesuhu

Portainer Docker

Sep 7th, 2020
1,901
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. # Note: Port 9000 is the general port used by Portainer for the UI access.
  2. # Port 8000 is used exclusively by the EDGE agent for the reverse tunnel function.
  3. # If you do not plan to use the edge agent, you do not need to expose port 8000
  4.  
  5. docker volume create portainer_data
  6. 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
  7.  
  8. # kemudian login di browser port 9000, create user admin password minimal 8 karakter
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement