`unable to find image 'myapp:latest' locally` followed by `pull access denied for myapp, repository does not exist or may require 'docker login'`
BeginnerTroubleshootingContainers that exit, crash or misbehave
Answer
Likely causes → Image was never built locally (or built with another tag/context), or the name lacks a registry prefix and Docker tries Docker Hub.
Diagnose → docker images | grep myapp; docker context ls (maybe building on a different daemon).
Fix → Build with -t myapp:latest against the same daemon, or use the full name reg.example.com/team/myapp:latest.
Prevent → Consistent naming and DOCKER_HOST awareness.
More on Containers that exit, crash or misbehave
Container exits immediately with code 0 right after `docker run -d`.Beginner`Exited (137)` with no OOM flag.Intermediate`Exited (139)` segmentation fault.Advanced`Exited (126)` / `Exited (127)`.Beginner`exec /entrypoint.sh: exec format error`Intermediate`docker run` says `WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)` and the app is very slow.Beginner