Public | Automated Build

Last pushed: a year ago
Short Description
Getting start in Arukas wih Ubuntu
Full Description

quickstart-ubuntu

Getting start in Arukas wih Ubuntu

Running locally

Public key authentication
$ git clone git@github.com:peco8/quickstart-ubuntu.git
$ cd quickstart-ubuntu
$ docker build --no-cache --tag quickstart-ubuntu . 
$ docker run -d -e AUTHORIZED_KEY="`cat ~/.ssh/id_rsa.pub`" -P quickstart-ubuntu
username/password

If you want to use your original password instead of the default one: "root", you can
set the environment variable ROOT_PWD to your specific password when running the container:

$ git clone git@github.com:peco8/quickstart-ubuntu.git
$ cd quickstart-ubuntu
$ docker build --no-cache --tag quickstart-ubuntu .
$ docker run -d -e ROOT_PWD="ubuntu" -P quickstart-ubuntu

And now you can ssh as root on the container’s IP address on some port of Docker daemon's host IP address.

Deploying to Arukas

Install the Arukas CLI,

or If you have docker installed already,

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 peco8/quickstart-ubuntu
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 peco8/quickstart-ubuntu

Authors

License

This project is licensed under the terms of the MIT license.

Continue with this tutorial here.

Docker Pull Command
Owner
peco8
Source Repository

Comments (0)