We removed our free Sandbox April 25th.
You can read more on our blog.
CLI Command examples on this page are always provided without the --application (shorthand -A) argument, assuming you’re running these commands in a connected folder (at creation or using the dotcloud connect command). For more details on connected folders, see Migrating to the CLI 0.9.
How to SSH to a Service¶
You can SSH to any service by running the dotcloud run command like so:
dotcloud run www
For scaled services dotcloud run connects to the first instance but you can connect to a specific instance by appending its number:
dotcloud run www.1
The first instance is .0.
How to Run a Single Command¶
You can run a single command in a service with the dotcloud run command:
dotcloud run www -- ls -la
Like for ssh you can append the instance number to run a command on a specific instance.
Note the double-dash after the service name. This will make sure that any extra dash-argument will be passed as is to the service, instead of being interpreted by the CLI.