The discussion revolves around issues installing Docker and Git on Amazon Linux in AWS EC2. lastarbucks reports that the Docker installation script appears to hang with no output. Simsnet explains that the silent behavior is normal due to the -qO- flag in the wget command. lastarbucks is concerned about completion and notes Git is not found. codinghorror and Simsnet inquire about the OS version and whether apt update and apt upgrade were run. Falco clarifies that the Docker installation guide is for Ubuntu and may not work on Amazon Linux. lastarbucks confirms the issue and notes the setup works on DigitalOcean. Corsterix clarifies that it works on AWS with the correct Ubuntu image and recommends using the official Docker installation guide.
A common thing inside of Linux is that once a command has completed, then the cursor goes to the next line to await the next command.
The command you ran was wget and the flag you had at the end was -qO-.
This tells WGET to not output anything to the console, and to end the program once the download is complete. Nothing is wrong, it’s just silent. To make it output statuses to the console, remove the flag at the end. This applies for every WGET download.
It works fine on AWS both on the host directly and also in an LXD container as long as you launch the right AWS image. I have multiple Discourse installs running in LXD on AWS.
Use this image on AWS: Ubuntu Server 18.04 LTS (HVM), SSD Volume Type - ami-0a313d6098716f372 (64-bit x86) / ami-01ac7d9c1179d7b74 (64-bit Arm)
I also recommend following the official Docker install guide: