mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 12:58:32 +07:00
GITBOOK-8: Fix Podman update socket paths
This commit is contained in:
committed by
gitbook-bot
parent
0a9c20d328
commit
f53fa5a1a6
@@ -86,7 +86,7 @@ The newest version of Portainer will now be deployed on your system, using the p
|
||||
|
||||
When the deployment is finished, go to `https://your-server-address:9443` or `http://your-server-address:9000` and log in. You should notice that the update notification has disappeared and the version number has been updated.
|
||||
|
||||
## Agent-only upgrade
|
||||
## Agent-only update
|
||||
|
||||
To update to the latest version of Portainer Agent, use the following commands to stop then remove the old version. Your other applications/containers will not be removed.
|
||||
|
||||
|
||||
@@ -55,13 +55,13 @@ Finally, deploy the updated version of Portainer:
|
||||
{% tabs %}
|
||||
{% tab title="Business Edition" %}
|
||||
```
|
||||
podman run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always --privileged -v /run/podman/podman.sock:/run/podman/podman.sock -v portainer_data:/data portainer/portainer-ee:lts
|
||||
podman run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always --privileged -v /run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee:lts
|
||||
```
|
||||
{% endtab %}
|
||||
|
||||
{% tab title="Community Edition" %}
|
||||
```
|
||||
podman run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always --privileged -v /run/podman/podman.sock:/run/podman/podman.sock -v portainer_data:/data portainer/portainer-ce:lts
|
||||
podman run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always --privileged -v /run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:lts
|
||||
```
|
||||
{% endtab %}
|
||||
{% endtabs %}
|
||||
@@ -74,7 +74,7 @@ These `podman run` commands include opening port `8000` which is used for Edge A
|
||||
To provide your own SSL certs you may use `--sslcert` and `--sslkey` flags as below to provide the certificate and key files. The certificate file needs to be the full chain and in PEM format. For example, for Business Edition:
|
||||
|
||||
```
|
||||
podman run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always --privileged -v /run/podman/podman.sock:/run/podman/podman.sock -v portainer_data:/data portainer/portainer-ee:lts --sslcert /path/to/cert/portainer.crt --sslkey /path/to/cert/portainer.key
|
||||
podman run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always --privileged -v /run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee:lts --sslcert /path/to/cert/portainer.crt --sslkey /path/to/cert/portainer.key
|
||||
```
|
||||
{% endhint %}
|
||||
|
||||
@@ -82,7 +82,7 @@ The newest version of Portainer will now be deployed on your system, using the p
|
||||
|
||||
When the deployment is finished, go to `https://your-server-address:9443` or `http://your-server-address:9000` and log in. You should notice that the update notification has disappeared and the version number has been updated.
|
||||
|
||||
## Agent-only upgrade
|
||||
## Agent-only update
|
||||
|
||||
To update to the latest version of Portainer Agent, use the following commands to stop then remove the old version. Your other applications/containers will not be removed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user