Skip to content

Instantly share code, notes, and snippets.

Enable Docker Remote API with TLS client verification

Docker's Remote API can be secured via TLS and client certificate verification.
First of all you need a few certificates and keys:

  • CA certificate
  • Server certificate
  • Server key
  • Client certificate
  • Client key

Create certificate files

@VooDooHeRo
VooDooHeRo / guide.md
Created March 16, 2020 09:31 — forked from mikkeloscar/guide.md
Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)

Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)

Simple way to setup an arm chroot for building packages for your arm devices. This is an alternative to cross-compiling where you are limited to only linking against the libs in your toolchain.

Setup chroot-fs

You can store the chroot wherever you like. I choose to store it in a disk-image which I mount to my filesystem.

@VooDooHeRo
VooDooHeRo / CANWorker.cpp
Created November 9, 2019 16:44 — forked from Arman92/CANWorker.cpp
CAN-Bus ECU reading with STM32F429 (STM32Fxxx)
#include "CANWorker.h"
#define CAN_BAUDRATE_TEST_TIMEOUT 10000 //ms
CAN_HandleTypeDef _canHandle;
bool receivedAnyCANFrame = false;
bool flag = false;
bool busy = false;