Skip to content

Instantly share code, notes, and snippets.

View mrmrcoleman's full-sized avatar

Mark Robert Coleman mrmrcoleman

View GitHub Profile
pulumi-packet/provider/cmd/pulumi-resource-packet/schema.json: "description": "URL pointing to a hosted iPXE script. More\ninformation is in the\n[Custom iPXE](https://www.packet.com/developers/docs/servers/operating-systems/custom-ipxe/)\ndoc.\n"
pulumi-packet/provider/cmd/pulumi-resource-packet/schema.json: "description": "The operating system slug. To find the slug, or visit [Operating Systems API docs](https://www.packet.com/developers/api/operatingsystems), set your API auth token in the top of the page and see JSON from the API response.\n"
pulumi-packet/provider/cmd/pulumi-resource-packet/schema.json: "description": "The device plan slug. To find the plan slug, visit [Device plans API docs](https://www.packet.com/developers/api/plans), set your auth token in the top of the page and see JSON from the API response.\n"
pulumi-packet/provider/cmd/pulumi-resource-packet/schema.json: "description": "JSON for custom partitioning. Only
title: "How To Run Docker in Hyper.sh"
date: 2017-03-13 18:00:00 +0800
author: hyper
preview: |
This blog shows you a few ways to setup a Docker daemon, and launch Docker containers inside of a Hyper container.
---
# How to run Docker in Hyper.sh
# Introducing Minio - Run your own S3 compatible object storage directly on Hyper.sh!
[Minio](https://www.minio.io/) is an open source, fully S3 compatible, object store that some of our users have been using already for a while.
At the same time however, we've had other users asking for exactly this sort of thing, unaware that Minio existed.
To address this problem we teamed up with the fine people Minio to explain a bit more about why people choose Minio, and to provide a few of reference Hyper Compose files.
## Why use Minio?
version: '2'
services:
mast:
image: seqvence/spark-master
command: /bin/bash -c "sleep 10 && bin/spark-class org.apache.spark.deploy.master.Master -h mast"
hostname: mast
environment:
MASTER: spark://mast:7077
SPARK_CONF_DIR: /conf
SPARK_PUBLIC_DNS: localhost
version: '2'
services:
db:
image: mysql:5.7
#volumes:
# - "./data/db:/var/lib/mysql"
restart: always
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
version: '2'
# starts 4 docker containers running minio server instances. Each
# minio server's web interface will be accessible on the host at port
# 9001 through 9004.
services:
minio1:
hostname: minio1
image: minio/minio:edge
size: s4
version: '2'
# starts 4 docker containers running minio server instances. Each
# minio server's web interface will be accessible on the host at port
# 9001 through 9004.
services:
minio1:
hostname: minio1
image: minio/minio:edge
ports:
version: '2'
# starts 4 docker containers running minio server instances. Each
# minio server's web interface will be accessible on the host at port
# 9001 through 9004.
services:
minio1:
hostname: minio1
image: minio/minio:edge
ports: