Executing Commands with docker exec
Debug or interact inside a running container.
Syntax
instantly exec -it <container> <command>
Example
instantly exec -it wordpress bash
Now you have a shell inside the WordPress container to inspect files or run processes.
You can also execute single commands without a full shell, for example:
instantly exec wordpress ps aux