Update updBE.md

pull/130/head
Anthony McMahon 2021-03-12 11:30:29 +13:00 committed by GitHub
parent b9fe36b8e7
commit edbc6d231d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 46 additions and 3 deletions

View File

@ -1,10 +1,53 @@
# Upgrade to Portainer Business
# Switching from CE to Portainer Business
Full instructions on how to switch your environment from Portainer CE to Portainer Business are here. These steps should be followed where you have bought the product or you are running a Free Trial.
### How to Upgrade
### Switching on Docker
Assuming you've used our recommended deployment scripts: when upgrading to the latest version of Portainer, use the following commands:
```shell
docker stop portainer
```
```shell
docker rm portainer
```
Those 2 commands will stop and remove the container respectively. Doing this will NOT remove your other applications/containers/etc.
Now that you have stopped and removed the old version of Portainer, you can run this command
```shell
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee-latest
```
That will deploy the newest version of Portainer Business on your system.
Now you can go return to Portainer and login (you might need to log out first). When you login for the first time you will be prompted to enter your License Key. Copy this from the email you received and paste it into the dialogue box.
You should notice that the bottom left corner now contains the words "Business Edition"
### Switching on Kubernetes
Upgrade method depends on the original install method used.
## For NodePort
```shell
kubectl apply -n portainer -f https://raw.githubusercontent.com/portainer/k8s/master/deploy/manifests/portainer/portainer-ee.yaml
```
That will deploy the newest version of Portainer Business on your system.
Now you can go return to Portainer and login (you might need to log out first). When you login for the first time you will be prompted to enter your License Key. Copy this from the email you received and paste it into the dialogue box.
You should notice that the bottom left corner now contains the words "Business Edition"
Full steps on how to upgrade to Portainer Business coming soon.
### How to Downgrade