1. AD Time
Arukas is the simplest-to-use Container-as-a-service that makes it easy to deploy and manage apps at scale.
- Easy to Manage: Arukas control panel helps you access and manage your applications through a simple and intuitive web-based user interface. It has never been easier.
- Reliable hosting: Arukas is composed of containerlized high-quality network and reliable hosting environment, which provides developers with rock-solid and highly scalable infrastructure.
- Scale on Demand: Scalability is especially important since an applicatiion has to grow as it's needed. You can control container resources at any time.
I. Short Description
Getting started in Arukas with CentOS.
II. Environment & Building CentOS
A host running Centos7.
yum install docker git systemctl start docker.service git clone https://github.com/arukasio/docker-hub-images.git cd docker-hub-images/quickstart-centos docker build --no-cache --tag quickstart-centos .
III. Get API key
See here: https://app.arukas.io/settings/api-keys
IV. Deploying to Arukas
You can login use "Public key authentication"
docker run \ --rm \ -e ARUKAS_JSON_API_TOKEN=<APIT_TOKEN> \ -e ARUKAS_JSON_API_SECRET=<SECRET_KEY> \ arukasio/arukas run --instances=1 --mem=512 --envs AUTHORIZED_KEY="`cat ~/.ssh/id_rsa.pub`" --ports=22:tcp arukasio/quickstart-centos
or "Username / Password"
docker run \ --rm \ -e ARUKAS_JSON_API_TOKEN=<APIT_TOKEN> \ -e ARUKAS_JSON_API_SECRET=<SECRET_KEY> \ arukasio/arukas run --instances=1 --mem=512 --ports=22:tcp arukasio/quickstart-centos -e ROOT_PWD=<YOUR_PWD>
V. Login CentOS
Login to the control panel, and you will see the CentOS is running on Arukas now, like this:
You can login use Xshell, but note that the port is not 22, but 31303 which was mapping out.
VI. Trouble Shooting
1、Cannot connect to the Docker daemon
You should start docker service first as root, like
sudo start service docker
Arukas docker has been closed .