AppNeta - Docker Container (C50) - Upgrading Legacy versions 14.0 and older
search cancel

AppNeta - Docker Container (C50) - Upgrading Legacy versions 14.0 and older

book

Article ID: 266146

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction

How do I upgrade or update my AppNeta docker container?  I have a deployed container and it is running older software versions, and I want to upgrade it to the final 14.x release.

 

Cause

Once a AppNeta Container Monitoring Point (CMP) is successfully deployed it can be updated via Docker commands.

Resolution

Upgrading

The following commands will work with Docker Compose V2 to shut down the CMP and Upgrade it to the latest available image:

ubuntu@ip-10-0-0-14:~/support-lab-cmp-01$ sudo docker-compose -f mp-compose.yaml down
Stopping support-lab-cmp-01_sequencer_1 ... done
Stopping support-lab-cmp-01_talos-001_1 ... done
Removing support-lab-cmp-01_sequencer_1 ... done
Removing support-lab-cmp-01_talos-001_1 ... done
Removing network support-lab-cmp-01_default

ubuntu@ip-10-0-0-14:~/support-lab-cmp-01$ sudo docker-compose -f mp-compose.yaml pull && sudo docker-compose -f mp-compose.yaml up -d
Pulling sequencer ... done
Pulling talos-001 ... done
Creating network "support-lab-cmp-01_default" with the default driver
Creating support-lab-cmp-01_talos-001_1 ... done
Creating support-lab-cmp-01_sequencer_1 ... done
ubuntu@ip-10-0-0-14:~/support-lab-cmp-01$

 

***NOTE***: Depending on which version of Docker-Compose you have installed, you may need to make changes to the docker compose command syntax.

The following will work with Docker Compose V1:

sudo docker-compose -f mp-compose.yaml down
sudo docker-compose -f mp-compose.yaml pull && sudo docker-compose -f mp-compose.yaml up -d

 

Docker Compose V2 will use a slightly different command without the hyphen ( - ) 

sudo docker compose -f mp-compose.yaml down
sudo docker compose -f mp-compose.yaml pull && sudo docker compose -f mp-compose.yaml up -d

Additional Information

As of CMP version 15.x, the Upgrade procedure has changed.  When upgrading from an ealier version (14.x and older) to a newer versions (15.x and newer) you will need to use the Re-Create option:

 

Additional details and documenation can be found here: