Upgrade the SingleStoreDB Docker Image
Caution
If you do not use a volume to persist your data, you will lose any data stored in the SingleStoreDB cluster-in-a-box
container during the upgrade process.
To upgrade the
singlestore/cluster-in-a-box
Docker image to the latest version, rundocker pull
:docker pull singlestore/cluster-in-a-box
Stop and remove the old container. This will delete any data stored in the container.
docker stop singlestore-ciab
docker rm singlestore-ciab
If you did not use a volume to preserve data in your container, restart it with the latest image by running steps 2 and 3 from Run the Container again.
If you did set up your Docker container with a volume, run the following instead:
Linux/macOS
docker run -d --init \ --name singlestore-ciab \ -v singlestore-ciab-data:/var/lib/memsql \ -p 3306:3306 -p 8080:8080 \ singlestore/cluster-in-a-box
Windows
docker run -d --init ` --name singlestore-ciab ` -v singlestore-ciab-data:/var/lib/memsql ` -p 3306:3306 -p 8080:8080 ` singlestore/cluster-in-a-box