From c42b1b8abda17ffab531e19d3b6813e4fcc67552 Mon Sep 17 00:00:00 2001 From: Daz Wilkin Date: Thu, 20 Jun 2019 15:08:56 -0700 Subject: [PATCH] Support "Are you sure?" prompting Running the `doctl` container with `--interactive --tty` will work if `doctl` commands issue `Are you sure?` prompts. Consistent use of --long-flag-names to help users understand the intent of the Docker commands. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29a55521c..4d434d991 100644 --- a/README.md +++ b/README.md @@ -173,13 +173,13 @@ configured, you can build a Docker image using `doctl`'s and run `doctl` within a container. ``` -docker build -t doctl . +docker build --tag=doctl . ``` Then you can run it within a container. ``` -docker run --rm -e DIGITALOCEAN_ACCESS_TOKEN="your_DO_token" doctl any_doctl_command +docker run --rm --interactive --tty --env=DIGITALOCEAN_ACCESS_TOKEN="your_DO_token" doctl any_doctl_command ``` ### Building the Development Version from Source