Skip to content

[Bug]: memmachine-compose.sh always downloads new image from internet and overwrites my local image #913

@tomw-mv

Description

@tomw-mv

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

  1. build image

memmachine-compose.sh build

  1. 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

  1. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions