metafresh logo and link to homepage

How do I update metasfresh using Docker?

Requirements

You will need a running docker based metasfresh system.

Updating using docker

  1. Stop all docker containers.
  2. Create a backup of the current docker workspace.
  3. Delete the host’s images of app, webui and webapi.
  4. Get the new dockerfiles from github.
  5. Change the hostname to docker-compose.yml.
  6. Rebuild the images.
  7. Start docker containers.

Example

cd metasfresh-docker
docker-compose stop
tar cvzf /backup/backup.tar.gz ./*
docker-compose rm
git pull
vi ./docker-compose.yml
docker-compose build
docker-compose up -d

Zur Quelldatei auf github.com