We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f45c0 commit 9aa53d9Copy full SHA for 9aa53d9
install.sh
@@ -299,7 +299,6 @@ start_docker_daemon() {
299
# Use systemctl if available (for systemd-based systems)
300
if command_exists systemctl; then
301
is_dry_run || >&2 echo "Using systemd to manage Docker service"
302
- # Use --now to start and enable simultaneously when systemd is running
303
if (
304
is_dry_run || set -x
305
$sh_c systemctl enable --now docker.service 2>/dev/null
@@ -731,7 +730,7 @@ do_install() {
731
730
fi
732
$sh_c "$pkg_manager $pkg_manager_flags install $pkgs"
733
)
734
- if [ "$AUTOSTART" = "1" ]; then
+ if [ "$NO_AUTOSTART" != "1" ]; then
735
start_docker_daemon
736
737
echo_docker_as_nonroot
0 commit comments