Describe the bug
build and tag image
then try to start MemMachine by running memmachine-compose.sh
it pulls an image from the internet and overwrites my local image
the running MemMachine is using the pulled image, not mine
Steps to reproduce
- build image
memmachine-compose.sh build
- tag image, e.g.
REPOSITORY TAG IMAGE ID CREATED SIZE
memmachine/memmachine latest 377f0a4627d8 43 hours ago 462MB
memmachine/memmachine latest-cpu 377f0a4627d8 43 hours ago 462MB
- start MemMachine
memmachine-compose.sh
It will pull a new image and overwrite mine.
Expected behavior
Don't do docker pull if image already exists
Environment
build is main/HEAD from 01/05 commit is 878d3f0
Additional context
This is because in recent builds, the following line has been added to docker-compose.yml
pull_policy: always