# `Stevedore.Transport.Registry`
[🔗](https://github.com/oshlabs/stevedore/blob/v0.2.0/lib/stevedore/transport/registry.ex#L1)

The `docker://` transport: a remote registry, behind the `Stevedore.Transport` behaviour.

A thin wrapper over `Stevedore.Registry` (which owns the HTTP + auth). Carries the target
`registry`/`repository` and the per-call `opts` (`:creds`, `:scheme`, …). Supports the push
path (manifest/blob upload) and cross-repo blob mount.

# `t`

```elixir
@type t() :: %Stevedore.Transport.Registry{
  opts: keyword(),
  registry: String.t(),
  repository: String.t()
}
```

# `mount`

```elixir
@spec mount(t(), Stevedore.Digest.t(), String.t()) :: :ok | :not_mounted
```

Attempts a cross-repo mount of `digest` into this transport's repository from `from_repo`.
Returns `:not_mounted` when the registry declines.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
