apt upgradeto ensure that you are using the latest operating system software.
apt-getto install required utilities.
curlto download the latest Docker version.
usermodcommand so that docker command execution does not require sudo privilege. Log out and log back in for the changes to take effect.
curlto add a gpg key:
container-idto access the command line. Use the command below to list the running containers.
-itswitch makes the session interactive.