Entering containers
New
Introduced in 0.4.0
enter <app> [<container-type> || --container-id <container-id>] # Connect to a specific app container
Usage
The enter
command can be used to enter a running container. The following variations of the command exist:
Additionally, the enter
command can be executed with no <container-type>
. If only a single <container-type>
is defined in the app's Procfile, executing enter
will drop the terminal into the only running container. This behavior is not supported when specifying a custom command; as described below.
By default, it runs a /bin/bash
, but can also be used to run a custom command: