← Home

docker.sh

load.sh docker
load.sh docker -- [options]

Installs the Docker Engine on Linux using the official convenience script.

Options:
  -h, --help        Show this help and exit
  --dry-run         Print actions without executing them
  --no-group        Skip creating 'docker' group and user membership changes
  --user NAME       The user to add to the 'docker' group (default: you; as root,
                    the user who ran sudo)
  --channel CH      Pass a channel to the installer (e.g., 'stable', 'test', 'nightly')
  --force           Run the installer of Docker even when Docker is installed
  --manifest        Print installation manifest and exit

Docker is installed for every user of the machine: 'load.sh remove -- docker' leaves
it in place. Run again, the installer does not run when Docker is installed: the
package manager upgrades it (apt upgrade, dnf upgrade). The 'docker' group is set up
each time.

Examples:
  load.sh docker
  load.sh docker -- --dry-run
  sudo ~/.shellscript/bin/load.sh docker -- --user alice

Developed and maintained by ByJG · GitHub · Sponsor