sincecutoff.com
← all changes

doctl droplets create adds --public-networking

Introduced 2026-03-31 · score 0.92

HOW TO USE IT

When creating a Droplet, set public networking explicitly with the documented doctl flag; `false` disables it and `true` enables it.

doctl compute droplet create <droplet-name> --size <size-slug> --image <image-slug> --enable-public-networking=false

WHY THIS HELPS

Create a droplet with a chosen public-networking setting.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.154.0
  • --enable-public-networking: Enables public networking; default is true. Set false to disable it.
  • <droplet-name> (required): Name for the new Droplet.
  • --size (required): Droplet size slug.
  • --image (required): Image ID or slug for the Droplet.
  • Prerequisite: Install doctl and authenticate it with `doctl auth init`.
  • Prerequisite: Creating Droplets requires the `droplet:create` scope and its listed required scopes.
  • Docs conflict: The supplied v1.154.0 release note names `--public-networking`; the current doctl CLI reference (generated for v2.0.0) documents `--enable-public-networking`. The current docs do not establish the v1.154.0 flag spelling or behavior.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card