This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
esxi:docker_host [2020/05/18 18:36] derek |
esxi:docker_host [2024/09/22 19:51] (current) |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Setup Docker on Photon OS on ESXi, and install Portainer and Unifi Controller. | Setup Docker on Photon OS on ESXi, and install Portainer and Unifi Controller. | ||
| - | Install a Photon OS base, using a relevant hostname: | + | {{page> |
| - | {{page> | + | |
| Then set up Portainer and Unifi Controller: | Then set up Portainer and Unifi Controller: | ||
| Line 20: | Line 19: | ||
| * Open portainer at http:// | * Open portainer at http:// | ||
| * Create account | * Create account | ||
| - | * Install the Unifi Controller: | + | * Install the Unifi Controller: |
| - | {{page> | + | |
| * Shutdown, Save '' | * Shutdown, Save '' | ||
| Line 43: | Line 41: | ||
| ====Update==== | ====Update==== | ||
| - | * Update the OS: | + | ===Update the OS=== |
| - | {{page> | + | Run '' |
| - | * Then reconnect | + | |
| + | {{page> | ||
| + | |||
| + | ===Update Portainer=== | ||
| + | Reconnect | ||
| < | < | ||
| - | # For some reason I needed to re-enable docker starting on boot? | + | # Update |
| - | systemctl enable docker | + | docker pull portainer/ |
| - | + | # If it responds with: | |
| - | # Update Portainer: | + | # Status: Downloaded newer image for portainer/ |
| - | docker pull portainer/ | + | |
| - | # If it responds with the following: | + | |
| - | # Status: Downloaded newer image for portainer/ | + | |
| # then run the following to update the container | # then run the following to update the container | ||
| docker stop Portainer | docker stop Portainer | ||
| docker rm Portainer | docker rm Portainer | ||
| - | docker run --name Portainer --restart=always -d -p 8000:8000 -p 9000:9000 -v / | + | docker run --name Portainer --restart=always -d -p 8000:8000 -p 9000:9000 -v / |
| </ | </ | ||