This is the "thing you want to run" like pihole, I am using a simple web server.
You'll want to prepare a tar of the container
#### FROM CLIENT (your laptop)
source "null" "words" { | |
} | |
build { | |
name = "utils.words" | |
sources = ["null.words"] | |
provisioner "shell-local" { | |
# setulimit, this works with macbook https://gist.github.com/gerardkok/8e61df7bbb132522b8232fb3841ae3b4 | |
# http(ie) is required here, curl could work | |
inline = concat(["ulimit -n 524288"],[ | |
"mkdir -p ${path.cwd}/inventory", |
Simply open the ~/Library/Group\ Containers/group.com.docker/settings.json
config file and set the diskSizeMiB
field to your desired size.
Save, and Docker will now limit the size of the Docker.raw.
You might need to restart Docker to resize the Docker.raw.
Install Xquartz
to get X11 support on MacOS. You can google Xquartz
and download it from its official site, or install using HomeBrew.
brew cask install xquartz
Launch Xquartz
. Go to Preference
-> Security
, click the box Allow connections from clients
. NOTE: You have to lauch Xquartz
with Allow connections from clients
enable everytime you want to ssh
to remote server with X11 forwarding support.
These are the steps I used to get Ubuntu ARM aarch64 running with QEMU on OSX.
Get Ubuntu Image and QEMU EFI:
wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-arm64-uefi1.img
wget https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Cognito Stack | |
Parameters: | |
AuthName: | |
Type: String | |
Description: Unique Auth Name for Cognito Resources | |
Resources: | |
# Creates a role that allows Cognito to send SNS messages | |
SNSRole: |
Reference:
sudo fdisk -l
const { docClient } = require('../services/dynamodb') | |
exports.findAllItems = async function* () { | |
let response = {} | |
let ExclusiveStartKey | |
do { | |
response = await docClient.scan({ | |
TableName: 'mytable', | |
Limit: 500, | |
ExclusiveStartKey |