From c6207429648bfdcf2196cdaf5f95ed83ee23a534 Mon Sep 17 00:00:00 2001 From: lena-larionova <54370747+lena-larionova@users.noreply.github.com> Date: Tue, 19 Nov 2019 15:24:22 -0800 Subject: [PATCH] turned deprecated notes into warnings (#9912) Signed-off-by: Lena Larionova --- compose/reference/create.md | 5 ++++- compose/reference/scale.md | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/compose/reference/create.md b/compose/reference/create.md index ceb2ef58a8..5776987215 100644 --- a/compose/reference/create.md +++ b/compose/reference/create.md @@ -5,9 +5,12 @@ title: docker-compose create notoc: true --- +> **This command is deprecated.** Use the [up](up.md) command with `--no-start` +instead. +{: .warning } + ``` Creates containers for a service. -This command is deprecated. Use the `up` command with `--no-start` instead. Usage: create [options] [SERVICE...] diff --git a/compose/reference/scale.md b/compose/reference/scale.md index 2b71bde9e5..b0487e5ca0 100644 --- a/compose/reference/scale.md +++ b/compose/reference/scale.md @@ -5,10 +5,11 @@ title: docker-compose scale notoc: true --- -> **Note**: This command is deprecated. Use the [up](up.md) command with the - `--scale` flag instead. Beware that using `up` with `--scale` flag has some - [subtle differences](https://github.com/docker/compose/issues/5251) with the `scale` command as it incorporates the behaviour - of `up` command. +> **This command is deprecated.** Use the [up](up.md) command with the + `--scale` flag instead. Beware that using `up` with the `--scale` flag has + some [subtle differences](https://github.com/docker/compose/issues/5251) with + the `scale` command, as it incorporates the behaviour of the `up` command. + {: .warning } ``` Usage: scale [options] [SERVICE=NUM...]