# `Tank.Mount`
[🔗](https://github.com/oshlabs/tank/blob/v0.2.0/lib/tank/mount.ex#L1)

A `Tank.Volume` mounted into a container at an absolute in-rootfs `path`.

`volume` names a pod-level `Tank.Volume`; `Tank.Pod.new/1` checks that the
reference resolves to a defined volume.

# `t`

```elixir
@type t() :: %Tank.Mount{path: String.t(), read_only: boolean(), volume: String.t()}
```

# `new`

```elixir
@spec new(map() | keyword()) :: {:ok, t()} | {:error, term()}
```

Build a validated mount from a map or keyword list.

# `new!`

```elixir
@spec new!(map() | keyword()) :: t()
```

Like `new/1` but raises `ArgumentError` on invalid input.

---

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