docker-bootstrap/2_install_docker_pkgs.sh

9 lines
199 B
Bash
Executable File

#!/bin/bash
if [ "$EUID" -ne 0 ]; then
echo "This script must be run as root." >&2
exit 1
fi
apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin