From 2f15d01b9f743a735e1e5980ba0ad1eba310e862 Mon Sep 17 00:00:00 2001 From: Sujay Pillai Date: Wed, 1 Jul 2020 02:04:52 +0800 Subject: [PATCH 1/2] Add a note to create a context in different subscription --- engine/context/aci-integration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/context/aci-integration.md b/engine/context/aci-integration.md index e4394681861..f8a08e12b5c 100644 --- a/engine/context/aci-integration.md +++ b/engine/context/aci-integration.md @@ -50,6 +50,7 @@ docker login azure This opens your web browser and prompts you to enter your Azure login credentials. + ### Create an ACI context After you have logged in, you need to create a Docker context associated with ACI to deploy containers in ACI. For example, let us create a new context called `myacicontext`: @@ -71,6 +72,10 @@ myacicontext aci myResourceGroupGTA@eastus default * moby Current DOCKER_HOST based configuration unix:///var/run/docker.sock swarm ``` +> **Note** +> +> If there is a need to change the subscription and create a new context you will have to execute `docker login azure` again. + ### Run a container Now that you've logged in and created an ACI context, you can start using Docker commands to deploy containers on ACI. From bce0d50665840f12a5014a12e7cfc46fc9d7bc83 Mon Sep 17 00:00:00 2001 From: Usha Mandya <47779042+usha-mandya@users.noreply.github.com> Date: Wed, 1 Jul 2020 09:20:05 +0100 Subject: [PATCH 2/2] Minor style updates Made a minor tweak to the style and wrapped the new note to 80 chars --- engine/context/aci-integration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/context/aci-integration.md b/engine/context/aci-integration.md index f8a08e12b5c..f30c8131dd2 100644 --- a/engine/context/aci-integration.md +++ b/engine/context/aci-integration.md @@ -50,7 +50,6 @@ docker login azure This opens your web browser and prompts you to enter your Azure login credentials. - ### Create an ACI context After you have logged in, you need to create a Docker context associated with ACI to deploy containers in ACI. For example, let us create a new context called `myacicontext`: @@ -74,7 +73,8 @@ default * moby Current DOCKER_HOST based configuration > **Note** > -> If there is a need to change the subscription and create a new context you will have to execute `docker login azure` again. +> If you need to change the subscription and create a new context, you must +execute the `docker login azure` command again. ### Run a container