Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 811 Bytes

create.md

File metadata and controls

24 lines (20 loc) · 811 Bytes
description keywords title notoc
Create creates containers for a service.
fig, composition, compose, docker, orchestration, cli, create
docker-compose create
true

This command is deprecated. Use the up command with --no-start instead. {: .warning }

Creates containers for a service.

Usage: create [options] [SERVICE...]

Options:
    --force-recreate       Recreate containers even if their configuration and
                           image haven't changed. Incompatible with --no-recreate.
    --no-recreate          If containers already exist, don't recreate them.
                           Incompatible with --force-recreate.
    --no-build             Don't build an image, even if it's missing.
    --build                Build images before creating containers.