sudo docker build --no-cache homeassistant/raspberrypi4-homeassistant:latest
unable to prepare context: path "homeassistant/raspberrypi4-homeassistant:latest" not found
I check docker documentation and it appear “docker pull” always pull latest image from repository
that said, not sure why “latest” not update your version. I do not use “latest” image and always pull by version.
So far, you’ve pulled images by their name (and “tag”). Using names and tags is a convenient way to work with images. When using tags, you can `docker pull` an image again to make sure you have the most up-to-date version of that image. For example, `docker pull ubuntu:14.04` pulls the latest version of the Ubuntu 14.04 image.
In some cases you don’t want images to be updated to newer versions, but prefer to use a fixed version of an image. Docker enables you to pull an image by its *digest* . When pulling an image by digest, you specify *exactly* which version of an image to pull. Doing so, allows you to “pin” an image to that version, and guarantee that the image you’re using is always the same.