Skip to content

Instantly share code, notes, and snippets.

variant: fcos
version: 1.4.0
passwd:
users:
- name: core
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPq+6J0Ssd7bfPcwva85fTheS3I4l3kLP4r04J5ZkEic [email protected]
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJPm8FHX5EtFK5BUZzlzdhI5A9nWHLVfCEY66djOJS5E harpreet@precision
password_hash: $y$j9T$2tAyrsoOrXrzVouTo6cJ5.$9oTIcJYHlNer9YmSlzVa/VNr6prkF9j6AA5g4KUpQj0
storage:

Why I prefer CLI over UI ?

  • CLI tools are Composable using pipes (great old school example http://www.youtube.com/watch?v=tc4ROCJYbm0&t=5m32s)
  • Great for automation and batch processing
  • Fewer mouse clicks. Can go futher using only keyboard
  • Avoid cluky UIs especially over poor connections
  • I'm insulated from UI changes
  • Easier to debug as they are often more verbose than the UI
@surdy
surdy / min-docker.json
Created May 4, 2016 04:12
Minimal Marathon App Definitions
{
"id": "min-docker",
"container": {
"type": "DOCKER",
"docker": {
"image": "thomasr/sleep"
}
}
}