Runs bash inside the running myapp container with a TTY and stdin attached, exactly like docker exec -it. The container subcommand form is interchangeable. Fall back to sh when bash is absent.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.