DCU stands for Decentralized Compute Unit. A DCU consists of a docker image which need to be run on the decentralized cloud with an instance specification which provisions the necessary computing resources.
You can run any docker image hosted on Docker Hub. All you need is the docker image name and access to pull the docker (currently only public images are supported without docker hub authentication).
Along with the docker image, you need to specify the instance size (sound familiar with AWS?). Various supported instance types and their cost is available on the pricing page.
To install Planetr gateway on your computer, please read the installation section.
// run planetr with --help to see all possible commands $ planetr --help
|dcu-run||Run a new container on a DCU|
|dcu-start||Start one or more stopped containers|
|dcu-stop||Stop one or more running containers|
|dcu-rm||Stop and remove one or more containers|
|dcu-exec||Run a command in a running container deployed on a DCU|
|dcu-ps||List all containers|
|dcu-info||Display information about a container|
|dcu-logs||Fetch the logs of a container|
|dcu-cp-to||Copy a file to the container from the local filesystem|
|dcu-cp-from||Copy a file from the container to the local filesystem|
In order to access the service running on the Docker container, port mapping is supported. You can map one port of the container to your gateway machine. This works similar to docker container networking.
Note: Planetr port mapping is limited to one port. It could be HTTP, SSHD or custom port.