Skip to content

Instantly share code, notes, and snippets.

View neersighted's full-sized avatar

Bjorn Neergaard neersighted

View GitHub Profile

On host system:

$ multipass launch -n repro 22.04 && multipass shell repro

Inside VM:

$ sudo -i

# curl https://get.docker.com | VERSION=20.10.23 sh
@neersighted
neersighted / Dockerfile
Last active November 7, 2022 19:27
Exploring 'implied directories' in Moby layer diffs
FROM alpine:latest
RUN mkdir /qux
WORKDIR /qux
RUN touch foo
RUN echo bar > foo
RUN rm foo
@neersighted
neersighted / eic-cli.sh
Created May 9, 2022 21:52 — forked from quiver/eic-cli.sh
simple shell script to demonstrate how EC2 Instance Connect CLI is implemented
#!/bin/bash
# simple shell script to demonstrate how EC2 Instance Connect CLI is implemented.
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstances.html
#
# Usage
# $ bash eic-cli.sh i-1234
if [ $# -ne 1 ]; then
echo "Usage"
echo "$ bash eic-cli.sh i-1234"

Keybase proof

I hereby claim:

  • I am neersighted on github.
  • I am neersighted (https://keybase.io/neersighted) on keybase.
  • I have a public key ASDw96R2lzdN6KDJeHy8khqXyBZ2FJ4aFfLSAkgNam0RCgo

To claim this, I am signing this object: