Wonach suchst Du?
What are you looking for?

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 Docker files from GitHub.
  5. Adjust the hostname in the docker-compose.yml file.
  6. Rebuild the images.
  7. Start Docker containers.

Example

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

If you’ve changed the docker-compose.yml file (e.g., different ports) and want to save it first, use:

cd metasfresh-docker
docker-compose down
tar cvzf ../backup.tar.gz ./*
cp -a ./docker-compose.yml ../
git pull
mv ../docker-compose.yml ./
docker-compose build
docker-compose up -d

View source file on GitHub.com