Exit Code 2Docker Exit Code 2
The container process exited due to a misuse of a shell command.
exec format errorThe container tried to execute a binary that is incompatible with its platform architecture.
The binary inside the container was compiled for a different CPU architecture. This commonly occurs when running an amd64 image on arm64 (Apple Silicon) or vice versa.
Use the --platform flag: docker run --platform linux/amd64 image. Build multi-architecture images with docker buildx. Use a base image that matches your host architecture.
Exit Code 2The container process exited due to a misuse of a shell command.
Error: target stage not found in DockerfileThe specified build target does not match any stage name in the Dockerfile.
Exit Code 0The container process exited successfully with no errors.
Exit Code 128The container process received an invalid exit signal.
Error: Conflict. The container name is already in useA container with the specified name already exists (running or stopped).
Cannot connect to the Docker daemonThe Docker client cannot communicate with the Docker daemon process.