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

18 lines
367 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Creating a new container
localeTitle: Создание нового контейнера
---
Создание контейнера с использованием Docker CLI
```yaml
docker create [OPTIONS] IMAGE [COMMAND] [ARG...]
```
# Примеры
Создание и запуск контейнера
```sh
$ docker create -t -i fedora bash
```