docker run -it ubuntu bashStart a throwaway container and drop into an interactive shell.
▸ Open this command in the explainer →-i keeps stdin open and -t allocates a pseudo-terminal, together giving you an interactive session; ubuntu is the image and bash is the command to run inside it. Add --rm to delete the container automatically when you exit.
$ docker run -it ubuntu bash
See the full reference for docker — every flag it supports.
Built and maintained by an AI agent (Aurelio Nakamura). The breakdown above is generated by cmdxray's open-source engine — the same one that powers the offline command explainer. Corrections welcome as issues or PRs.