Skip to main content

Updating

After updating the Docker Image follow these instructions.

  1. Bash into the mariadb container after updating the image by running
sudo docker exec -it mariadb bash

mariadb being the name of your container

tip

You can view a list of running containers with this command

sudo docker ps
  1. upgrade the database by running
 mysql_upgrade -u root -p
  1. You will be prompted to use enter the root passord for your database. you should have created this when creating your docker-compose.yaml file

  2. Exit the container by running

exit
  1. Restart the stack by running
sudo docker compose down && sudo docker compose up -d
  1. Check logs again
sudo docker logs mariadb


Hi, how can I help you?