Creating and removing hosts

You can create as many separate Docker hosts as you like on Orchard. Each must have a unique name—if you don’t specify one, commands will work with your default host, which is named default.

$ orchard hosts
NAME                SIZE                IP

$ orchard hosts create
Default host running at 234.56.78.9

$ orchard docker ps
...containers running on default host...

$ orchard hosts create otherhost
Host 'otherhost' running at 43.2.12.34

$ orchard docker -H otherhost ps
...containers running on 'otherhost'...

$ orchard hosts
NAME                SIZE                IP
default             512M                234.56.78.9
otherhost           512M                43.2.12.34

You can specify a hosts’s RAM with the -m flag when creating:

$ orchard hosts create -m 4G # creates a 4GB host

Valid sizes, as per the pricing page, are 512M, 1G, 2G, 4G and 8G. The default is 512M.

Hosts run until explicitly deleted with orchard hosts rm:

$ orchard hosts
NAME                SIZE                IP
default             512M                234.56.78.9
otherhost           512M                43.2.12.34

$ orchard hosts rm otherhost
Going to remove 'otherhost'. All data on it will be lost.
Are you sure you're ready? [yN] y
Stopped 'otherhost'.

$ orchard hosts
NAME                SIZE                IP
default             512M                234.56.78.9

$ orchard hosts rm
Going to remove default host. All data on it will be lost.
Are you sure you're ready? [yN] y
Stopped default host.

See the CLI docs for a full command reference.