All apps/nerdctl

nerdctl

nerdctl

A Docker-compatible CLI for containerd.

Runs as nerdctl|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 13 fields

Run a container from an image. Networking, resource limits, platform and other nerdctl subcommands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui nerdctl

nerdctl run

Run a container
Run a containerExample values, fixed in this page — nothing here reaches a terminal
Basic
Image*
string
Command and arguments
string
Keep STDIN open
--interactive
Allocate a TTY
--tty
Remove when it exits
--rm
TasksEach one presets the form for one job
Interactive throwaway container
imageinteractivettyrmcommand
Background service
imagedetachnamepublish
ParametersOnly these flags are editable in the form
Keep STDIN open
boolean
--interactive-i
Allocate a TTY
boolean
--tty-t
Run in background
boolean
--detach-d
Remove when it exits
boolean
--rm
Container name
string
--name
Publish ports
For example 8080:80.
string · repeatable
--publish-p
Volumes
SRC:DST[:OPT], e.g. /mnt:/mnt:ro.
string · repeatable
--volume-v
Environment variables
string · repeatable
--env-e
Working directory
string
--workdir-w
User
string
--user-u
Entrypoint
string
--entrypoint
Image
string · positional 0
Command and arguments
string · positional 1 · repeatable
SourcesEvery flag above is checked against these
help
Usage: `nerdctl run [OPTIONS] IMAGE [COMMAND] [ARG...]` - :whale: `-i, --interactive`: Keep STDIN open even if not attached - :whale: `-t, --tty`: Allocate a pseudo-TTY - :whale: `-d, --detach`: Run container in background and print container ID - :whale: `--rm`: Automatically remove the container when it exits - :whale: `-u, --user`: Username or UID (format…
manualHEAD 2026-10

raw.githubusercontent.com

Before it fills your prompt, Otty checks the installed nerdctl against its version. A form that does not match your version is not offered.