awslabs / awslabs/agentcore-samples

Amazon Bedrock AgentCore Samples - [Bug]

Open
#64 2 comments 0 reactions 0 assignees View on GitHub
03-integrations agentic-frameworks bug
Dominant language
Python
Stars
3.4k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
30

Description

**Describe the bug**
```
❯ agentcore launch
Launching Bedrock AgentCore (cloud mode)...

Launching Bedrock AgentCore agent 'strands_agent_file_system' to cloud
Build: #2 ERROR: unexpected status from HEAD request to https://public.ecr.aws/v2/docker/library/python/manifests/3.13-slim: 403 Forbidden
Build: ERROR: failed to solve: public.ecr.aws/docker/library/python:3.13-slim: failed to resolve source metadata for public.ecr.aws/docker/library/python:3.13-slim:
unexpected status from HEAD request to https://public.ecr.aws/v2/docker/library/python/manifests/3.13-slim: 403 Forbidden
❌ Build failed: ------ > load metadata for public.ecr.aws/docker/library/python:3.13-slim: ------ Dockerfile:1 -------------------- 1 | >>> FROM
public.ecr.aws/docker/library/python:3.13-slim 2 | WORKDIR /app 3 | -------------------- ERROR: failed to solve:
public.ecr.aws/docker/library/python:3.13-slim: failed to resolve source metadata for public.ecr.aws/docker/library/python:3.13-slim: unexpected status from HEAD
request to https://public.ecr.aws/v2/docker/library/python/manifests/3.13-slim: 403 Forbidden
```

**To Reproduce**
1. Run this example exactly as the readme says: `03-integrations/01-agentic-frameworks/01-strands-agents`

**Expected behavior**
No errors

**! Additional context !**
This works if you run the ECR login command first:

```
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
```

However most people will probably not know / remember that, so it might be a good idea to perform this step automatically?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.