This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
ARCH=$(dpkg --print-architecture) # returns amd64 or arm64 | |
TMPDIR=$(mktemp -d) | |
PKG_FILE="$TMPDIR/amazon-ssm-agent.deb" | |
# Map dpkg arch to SSM path | |
case "$ARCH" in | |
amd64) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: '3.8' | |
services: | |
glances: | |
image: nicolargo/glances:3.2.0-full | |
container_name: glances-plexmediaserver | |
pid: host | |
network_mode: host # http://<ip>:61208 | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock:ro |