Skip to content

Instantly share code, notes, and snippets.

View lam0819's full-sized avatar
πŸ’­
Busy

Alan Lam lam0819

πŸ’­
Busy
View GitHub Profile
@cklei-carly
cklei-carly / 00_s6-structure.md
Last active September 21, 2026 04:13
serversideup docker image with s6
/etc/s6-overlay/s6-rc.d/
β”œβ”€β”€ user/
β”‚   └── contents.d/
β”‚           β”œβ”€β”€ laravel-queue      # Service registration file
β”‚           └── laravel-schedule   # Service registration file
β”œβ”€β”€ laravel-queue/
β”‚   β”œβ”€β”€ dependencies
β”‚   β”œβ”€β”€ type
β”‚ └── run # Queue service run script
@npearce
npearce / install-docker.md
Last active September 18, 2026 15:08
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command

UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.

Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/

Docker CE Install

sudo amazon-linux-extras install docker
sudo service docker start