freeCodeCamp/guide/english/containers/docker/creating-a-new-container/index.md

15 lines
225 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
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
```