Skip to content

Commit

Permalink
Delete docker default systemd unit from ISO
Browse files Browse the repository at this point in the history
The docker daemon initially starts up in the ISO, only to be stopped
and replaced by minikube's custom configuration.  This removes the
initial unit, so that docker doesn't automatically start up until
minikube restarts it with its configuration.
  • Loading branch information
r2d4 committed Aug 20, 2017
1 parent b038386 commit 56e250e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 58 deletions.
13 changes: 0 additions & 13 deletions deploy/iso/minikube-iso/package/docker-bin/docker-bin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,4 @@ define DOCKER_BIN_INSTALL_TARGET_CMDS
$(TARGET_DIR)/bin/docker-proxy
endef

define DOCKER_BIN_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 \
$(BR2_EXTERNAL_MINIKUBE_PATH)/package/docker-bin/docker.service \
$(TARGET_DIR)/usr/lib/systemd/system/docker.service

$(INSTALL) -D -m 644 \
$(BR2_EXTERNAL_MINIKUBE_PATH)/package/docker-bin/docker.socket \
$(TARGET_DIR)/usr/lib/systemd/system/docker.socket

ln -fs /usr/lib/systemd/system/docker.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/docker.service
endef

$(eval $(generic-package))
33 changes: 0 additions & 33 deletions deploy/iso/minikube-iso/package/docker-bin/docker.service

This file was deleted.

12 changes: 0 additions & 12 deletions deploy/iso/minikube-iso/package/docker-bin/docker.socket

This file was deleted.

0 comments on commit 56e250e

Please sign in to comment.