# `Docker.Commands.Create`
[🔗](https://github.com/joshrotenberg/docker_wrapper_ex/blob/v0.1.2/lib/docker/commands/create.ex#L1)

Implements the `Docker.Command` behaviour for `docker create`.

Creates a container without starting it. Accepts the same options
as `Docker.Commands.Run` but produces a container ID without running.

## Examples

    import Docker.Commands.Create

    "nginx:alpine"
    |> new()
    |> name("my-nginx")
    |> port(8080, 80)
    |> Docker.create()

# `t`

```elixir
@type t() :: %Docker.Commands.Create{
  cap_add: term(),
  cap_drop: term(),
  command: term(),
  cpus: term(),
  entrypoint: term(),
  env: term(),
  env_file: term(),
  extra_args: term(),
  hostname: term(),
  image: term(),
  init: term(),
  interactive: term(),
  labels: term(),
  memory: term(),
  name: term(),
  network: term(),
  platform: term(),
  ports: term(),
  privileged: term(),
  read_only: term(),
  restart: term(),
  tty: term(),
  user: term(),
  volumes: term(),
  workdir: term()
}
```

# `cap_add`

# `cap_drop`

# `command`

# `cpus`

# `entrypoint`

# `env`

# `env_file`

# `hostname`

# `init_flag`

# `interactive`

# `label`

# `memory`

# `name`

# `network`

# `new`

# `platform`

# `port`

# `privileged`

# `raw`

# `read_only`

# `restart`

# `tty`

# `user`

# `volume`

# `workdir`

---

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