convenience script
Docker official one-line installation script, meant for test machines rather than servers you care about.
It runs unreviewed code as root and bypasses controlled package updates.
In more detail
curl -fsSL https://get.docker.com | sudo sh downloads and runs a script as root. It is quick for a disposable machine, but on a real server use the package repository steps so updates are controlled and you are not piping an unreviewed script into a root shell.
Related terms
- package repository — A server that a package manager downloads software packages from.
- sudo — A command that runs another command with administrator (root) rights after checking you are allowed to.
- curl — A command-line tool for sending web requests and printing the response.
Taught in
- Install Docker And Verify Your Environment — Docker Architecture & Production Containers