Skip to content

Tips and Tricks

Ben edited this page Jan 5, 2021 · 4 revisions

This page compiles a random assortment of useful tips and tricks for using VIVO with Docker

Remove Docker caches

If you aren't seeing expected code or dependency updates, try removing Docker's caches before composing.
docker-compose up -d --build --force-recreate --renew-anon-volumes

That might work for cached dependencies. If you still seem to be stuck with a cached version of VIVO, you can try:
docker-compose build --no-cache --pull
docker-compose up -d

Login to Docker shell

  1. Confirm docker image name
    sudo docker ps
  2. Run bash (replace vivo-docker2_vivo with the image name determined above if different).
    sudo docker exec –it vivo-docker2_vivo_1 /bin/bash

View Docker compose logs

docker logs vivo-docker2_vivo_1
docker logs vivo-docker2_vivo_1 --follow

Clone this wiki locally