Docker & Container Runtimes

Display a list of available operating systems on Vultr in pretty JSON

Vultr, a Cloud hosting services provider, supports Docker Machine through their own Docker Machine driver, which you can install on Linux Mint 18 and Ubuntu 16.04 using this guide.

With the driver installed, you may then provision Dockerized hosts, or machines, on the Vultr platform using the docker-machine create command. A list of available operating systems on Vultr is accessible via this URL. That’s rendered by the browser in a JSON format that’s painful to read.

To obtain a JSON output that’s a lot more easy on the eyes, use the following curl command.

The output should be like the one shown below. Note that each operating system has an id.

Knowing the id of an operating system, you can now specify it when creating a Dockerized host on the Vultr platform. For example, to create a Dockerized host with Debian 8 Jessie, whose id is 193, as the base operating system, you would type the following command.

Related Post:  How to install Docker and run Docker containers on Fedora 25

A separate article on how to provision Dockerized hosts on Vultr is about to be published later today, so stay tuned!
Vultr Cloud banner

Related Post:  A Guide to Container Registries

Subscribe to LinuxBSDos.com

Subscribe to receive the latest articles in your Inbox

Trust me, you'll not be spammed...

Please share:
Tags:

We Recommend These Vendors and Free Offers

Google has got competition, because Presearch is building a blockchain-based search engine controlled by the community. At $0.15 a token, you can participation in Lot 3 of the token sale by clicking here

Open Money is building a solution that will run mainstream software on blockchain tech. Click here to get free tokens that will be the digital currency of the platform

COMSA allows centralized businesses to adopt blockchain technology. The token sale starts soon! Sign up for free by clicking here

Register now for Blockchain & Cryptocurrency Con 2018, international conference on blockchain technnology in Dallas, TX (USA), Feb. 23-24, 2018. Students can register at a 50% discount.

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).


Leave a Comment

Your email address will not be published. Required fields are marked *

*