Docker example of creating simple dockerized app
September 25th, 2020Here is a very simple example of how to create a dockerized app:
docker run -d centos /bin/bash -c 'while true; do X=$[$X+1]; echo $X; sleep 1; done'
To check if it is running:
docker ps
To check the output, use the auto-assigned name or (unique) portion of the container id
docker logs auto-name
To stop:
docker stop name
To start
docker start name
Installing Docker
September 25th, 2020The easiest way to install Docker (on linux) is to use the following
curl -fsSL https://get.docker.com -o get-docker.sh
chmod 755 get-docker.sh
./get-docker.sh
How to start a shell in a Docker container
September 3rd, 2020To list the docker processes and get the container id:
docker ps
Then use:
docker exec -it <containerIdOrName> bash
How to get bash or ssh into a running container in background mode?
How to have an app run on Startup in Windows 10
September 3rd, 2020Press Windows+R to bring up the Run menu
Type "shell:startup" and hit enter
Create a shortcut in that folder to the program you want to run on startup
Individually Addressable Whole House Holiday LEDs
September 3rd, 2020This may be a fun project to do to add some extra holiday cheer during Covid-19.
Year Round Holiday LEDs Part 1: Hardware
Year Round Holiday LEDs Part 2: Software
Year Round Holiday LEDs Part 3: Installation
Total Beginners Guide: Holiday Lights 2.0 Step by Step Arduino Installation and Setup.
Beginner's Guide to Christmas Lights - and LED Shows for Every Holiday
