This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
esxi:docker_host [2021/01/17 06:59] 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 44: | Line 42: | ||
====Update==== | ====Update==== | ||
===Update the OS=== | ===Update the OS=== | ||
+ | Run '' | ||
+ | |||
{{page> | {{page> | ||
Line 49: | Line 49: | ||
Reconnect and run: | Reconnect and run: | ||
< | < | ||
- | # For some reason I needed to re-enable docker starting on boot? | + | # Update |
- | systemctl enable docker | + | docker pull portainer/ |
- | + | ||
- | # Update Portainer: | + | |
- | docker pull portainer/ | + | |
# If it responds with: | # If it responds with: | ||
- | # Status: Downloaded newer image for portainer/ | + | # 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 / |
</ | </ |