Docker-compose cannot find local build image

Expected behavior

docker-compose with local image and mysql.
local build image able to run through docker run, but error with docker-compose.
The SHA256 value doesn’t match image also.

Actual behavior

ERROR: for pns-app No such image: sha256:a91ee9ef2c1c20c2516e7e2944bbdc37643ceb79f7b93c9c668b5b15c9010c55

Information

  • the output of:
    • pinata diagnose -u on OSX
    • DockerDebugInfo.ps1 using Powershell on Windows
  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )

Steps to reproduce the behavior