Skip to content

Sandbox Mode trying to pull inexistant docker image #2297

@the-remmer

Description

@the-remmer

Describe the bug

When following the doc exactly to run docker agent in sandboxed mode, it fails with the error failed to pull OCI image agent.

Version affected

docker agent version v1.32.4
Commit: bd55840ec12b55874dd9fccf88912f9b6bb3e3f3

On Windows, installed from the Microsoft Store (latest available version).

How To Reproduce

  1. Use this agent.yaml https://github.com/docker/docker-agent/blob/bd55840ec12b55874dd9fccf88912f9b6bb3e3f3/examples/sandbox_agent.yaml
  2. Run docker agent run --sandbox agent.yaml
  3. See error
Error: failed to pull OCI image agent: resolving remote digest for agent: GET https://index.docker.io/v2/library/agent/manifests/latest: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:library/agent Type:repository]]

Note that the error persists even after logging in with docker login

Expectation

It should run the TUI in a sandbox.

OS and Terminal type

Windows 11, powershell, Windows Terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions