15 lines
225 B
Markdown
15 lines
225 B
Markdown
|
---
|
||
|
title: Creating a new container
|
||
|
---
|
||
|
|
||
|
Creating a container using Docker CLI
|
||
|
|
||
|
```yaml
|
||
|
docker create [OPTIONS] IMAGE [COMMAND] [ARG...]
|
||
|
```
|
||
|
# Examples
|
||
|
Create and start a container
|
||
|
```sh
|
||
|
$ docker create -t -i fedora bash
|
||
|
```
|