minikube: Unable to start Minikube cluster with certain proxy environment

Steps to reproduce the issue:

  1. OS: Ubuntu 20.04 (lsb_release -a) Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal
  2. Environment bare-metal. Running on the server natively
  3. private base_image: using kicbase:v0.0.20
  4. When we execute: minikube start --base-image=“armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20” --cpus=4 --memory=“16g” --driver=docker, we get the following output:
* minikube v1.20.0 on Ubuntu 20.04
* Using the docker driver based on existing profile
! Your cgroup does not allow setting memory.
  - More information: https://docs.docker.com/engine/install/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities
! Your cgroup does not allow setting memory.
  - More information: https://docs.docker.com/engine/install/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities
* Starting control plane node minikube in cluster minikube
* Pulling base image ...
* Updating the running docker "minikube" container ...
! StartHost failed, but will try again: provision: ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %s "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file

* Updating the running docker "minikube" container ...
* Failed to start docker container. Running "minikube delete" may fix it: provision: ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %s "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file


X Exiting due to GUEST_PROVISION: Failed to start host: provision: ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %s "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file

*
╭──────────────────────────────────────────────────────────────────╮
│                                                                  │
│    * If the above advice does not help, please let us know:      │
│      https://github.com/kubernetes/minikube/issues/new/choose    │
│                                                                  │
│    * Please attach the following file to the GitHub issue:       │
│    * - /home/administrator/.minikube/logs/lastStart.txt          │
│                                                                  │
╰──────────────────────────────────────────────────────────────────╯



**Full output of `minikube logs` command:**
<details>
minikube logs
*
* ==> Audit <==
* |---------|--------|----------|---------------|---------|-------------------------------|-------------------------------|
| Command |  Args  | Profile  |     User      | Version |          Start Time           |           End Time            |
|---------|--------|----------|---------------|---------|-------------------------------|-------------------------------|
| start   | --help | minikube | administrator | v1.19.0 | Wed, 19 May 2021 08:26:44 UTC | Wed, 19 May 2021 08:26:44 UTC |
| delete  |        | minikube | administrator | v1.19.0 | Wed, 19 May 2021 08:30:10 UTC | Wed, 19 May 2021 08:30:13 UTC |
| start   | --help | minikube | administrator | v1.19.0 | Wed, 19 May 2021 08:30:24 UTC | Wed, 19 May 2021 08:30:24 UTC |
| --help  |        | minikube | administrator | v1.19.0 | Wed, 19 May 2021 08:54:25 UTC | Wed, 19 May 2021 08:54:25 UTC |
|---------|--------|----------|---------------|---------|-------------------------------|-------------------------------|

*
* ==> Last Start <==
* Log file created at: 2021/05/19 09:45:17
Running on machine: omctelemetry
Binary: Built with gc go1.16.1 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0519 09:45:17.570749  125527 out.go:291] Setting OutFile to fd 1 ...
I0519 09:45:17.570924  125527 out.go:338] TERM=xterm,COLORTERM=, which probably does not support color
I0519 09:45:17.570926  125527 out.go:304] Setting ErrFile to fd 2...
I0519 09:45:17.570929  125527 out.go:338] TERM=xterm,COLORTERM=, which probably does not support color
I0519 09:45:17.571015  125527 root.go:316] Updating PATH: /home/administrator/.minikube/bin
I0519 09:45:17.571212  125527 out.go:298] Setting JSON to false
I0519 09:45:17.596321  125527 start.go:108] hostinfo: {"hostname":"omctelemetry","uptime":1645764,"bootTime":1619771753,"procs":496,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"20.04","kernelVersion":"5.4.0-65-generic","kernelArch":"x86_64","virtualizationSystem":"kvm","virtualizationRole":"host","hostId":"cb3d46a9-9304-4924-8bd8-dd9647e80ba4"}
I0519 09:45:17.596415  125527 start.go:118] virtualization: kvm host
I0519 09:45:17.597552  125527 out.go:170] * minikube v1.20.0 on Ubuntu 20.04
I0519 09:45:17.598807  125527 driver.go:322] Setting default libvirt URI to qemu:///system
I0519 09:45:17.657510  125527 docker.go:119] docker version: linux-20.10.6
I0519 09:45:17.657645  125527 cli_runner.go:115] Run: docker system info --format "{{json .}}"
I0519 09:45:17.782589  125527 info.go:261] docker info: {ID:XUOE:JV5G:H23E:ABTD:6BR6:334U:4V3X:LZAX:NWAB:2NXA:46VA:MASF Containers:5 ContainersRunning:1 ContainersPaused:0 ContainersStopped:4 Images:36 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Native Overlay Diff true] [userxattr false]] SystemStatus:<nil> Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization:<nil> Log:[awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog]} MemoryLimit:true SwapLimit:false KernelMemory:true KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:false NFd:30 OomKillDisable:true NGoroutines:39 SystemTime:2021-05-19 09:45:17.69867541 +0000 UTC LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:0 KernelVersion:5.4.0-65-generic OperatingSystem:Ubuntu 20.04.2 LTS OSType:linux Architecture:x86_64 IndexServerAddress:https://index.docker.io/v1/ RegistryConfig:{AllowNondistributableArtifactsCIDRs:[] AllowNondistributableArtifactsHostnames:[] InsecureRegistryCIDRs:[127.0.0.0/8] IndexConfigs:{DockerIo:{Name:docker.io Mirrors:[] Secure:true Official:true}} Mirrors:[]} NCPU:40 MemTotal:405535621120 GenericResources:<nil> DockerRootDir:/var/lib/docker HTTPProxy: HTTPSProxy: NoProxy: Name:omctelemetry Labels:[] ExperimentalBuild:false ServerVersion:20.10.6 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:<nil>} LiveRestoreEnabled:false Isolation: InitBinary:docker-init ContainerdCommit:{ID:05f951a3781f4f2c1911b05e61c160e9c30eaa8e Expected:05f951a3781f4f2c1911b05e61c160e9c30eaa8e} RuncCommit:{ID:12644e614e25b05da6fd08a38ffa0cfe1903fdec Expected:12644e614e25b05da6fd08a38ffa0cfe1903fdec} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=apparmor name=seccomp,profile=default] ProductLicense: Warnings:[WARNING: No swap limit support] ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Experimental:true Name:app Path:/usr/libexec/docker/cli-plugins/docker-app SchemaVersion:0.1.0 ShortDescription:Docker App Vendor:Docker Inc. Version:v0.9.1-beta3] map[Name:buildx Path:/usr/libexec/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Build with BuildKit Vendor:Docker Inc. Version:v0.5.1-docker] map[Name:scan Path:/usr/libexec/docker/cli-plugins/docker-scan SchemaVersion:0.1.0 ShortDescription:Docker Scan Vendor:Docker Inc. Version:v0.7.0]] Warnings:<nil>}}
I0519 09:45:17.782761  125527 docker.go:225] overlay module found
I0519 09:45:17.783547  125527 out.go:170] * Using the docker driver based on existing profile
I0519 09:45:17.783584  125527 start.go:276] selected driver: docker
I0519 09:45:17.783591  125527 start.go:718] validating driver "docker" against &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20 Memory:16384 CPUs:4 DiskSize:20000 VMDriver: Driver:docker HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.20.2 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.20.2 ControlPlane:true Worker:true}] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false}
I0519 09:45:17.783697  125527 start.go:729] status for docker: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc:}
W0519 09:45:17.783744  125527 oci.go:119] Your kernel does not support memory limit capabilities or the cgroup is not mounted.
W0519 09:45:17.783752  125527 out.go:424] no arguments passed for "! Your cgroup does not allow setting memory.\n" - returning raw string
W0519 09:45:17.783770  125527 out.go:235] ! Your cgroup does not allow setting memory.
W0519 09:45:17.783788  125527 out.go:424] no arguments passed for "  - More information: https://docs.docker.com/engine/install/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities\n" - returning raw string
I0519 09:45:17.784191  125527 out.go:170]   - More information: https://docs.docker.com/engine/install/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities
I0519 09:45:17.790712  125527 cli_runner.go:115] Run: docker system info --format "{{json .}}"
I0519 09:45:17.918782  125527 info.go:261] docker info: {ID:XUOE:JV5G:H23E:ABTD:6BR6:334U:4V3X:LZAX:NWAB:2NXA:46VA:MASF Containers:5 ContainersRunning:1 ContainersPaused:0 ContainersStopped:4 Images:36 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Native Overlay Diff true] [userxattr false]] SystemStatus:<nil> Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization:<nil> Log:[awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog]} MemoryLimit:true SwapLimit:false KernelMemory:true KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:false NFd:30 OomKillDisable:true NGoroutines:39 SystemTime:2021-05-19 09:45:17.832580035 +0000 UTC LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:0 KernelVersion:5.4.0-65-generic OperatingSystem:Ubuntu 20.04.2 LTS OSType:linux Architecture:x86_64 IndexServerAddress:https://index.docker.io/v1/ RegistryConfig:{AllowNondistributableArtifactsCIDRs:[] AllowNondistributableArtifactsHostnames:[] InsecureRegistryCIDRs:[127.0.0.0/8] IndexConfigs:{DockerIo:{Name:docker.io Mirrors:[] Secure:true Official:true}} Mirrors:[]} NCPU:40 MemTotal:405535621120 GenericResources:<nil> DockerRootDir:/var/lib/docker HTTPProxy: HTTPSProxy: NoProxy: Name:omctelemetry Labels:[] ExperimentalBuild:false ServerVersion:20.10.6 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:<nil>} LiveRestoreEnabled:false Isolation: InitBinary:docker-init ContainerdCommit:{ID:05f951a3781f4f2c1911b05e61c160e9c30eaa8e Expected:05f951a3781f4f2c1911b05e61c160e9c30eaa8e} RuncCommit:{ID:12644e614e25b05da6fd08a38ffa0cfe1903fdec Expected:12644e614e25b05da6fd08a38ffa0cfe1903fdec} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=apparmor name=seccomp,profile=default] ProductLicense: Warnings:[WARNING: No swap limit support] ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Experimental:true Name:app Path:/usr/libexec/docker/cli-plugins/docker-app SchemaVersion:0.1.0 ShortDescription:Docker App Vendor:Docker Inc. Version:v0.9.1-beta3] map[Name:buildx Path:/usr/libexec/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Build with BuildKit Vendor:Docker Inc. Version:v0.5.1-docker] map[Name:scan Path:/usr/libexec/docker/cli-plugins/docker-scan SchemaVersion:0.1.0 ShortDescription:Docker Scan Vendor:Docker Inc. Version:v0.7.0]] Warnings:<nil>}}
W0519 09:45:17.918996  125527 oci.go:119] Your kernel does not support memory limit capabilities or the cgroup is not mounted.
W0519 09:45:17.919010  125527 out.go:424] no arguments passed for "! Your cgroup does not allow setting memory.\n" - returning raw string
W0519 09:45:17.919032  125527 out.go:235] ! Your cgroup does not allow setting memory.
W0519 09:45:17.919059  125527 out.go:424] no arguments passed for "  - More information: https://docs.docker.com/engine/install/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities\n" - returning raw string
I0519 09:45:17.919601  125527 out.go:170]   - More information: https://docs.docker.com/engine/install/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities
I0519 09:45:17.919698  125527 cni.go:93] Creating CNI manager for ""
I0519 09:45:17.919722  125527 cni.go:167] CNI unnecessary in this configuration, recommending no CNI
I0519 09:45:17.919731  125527 start_flags.go:273] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20 Memory:16384 CPUs:4 DiskSize:20000 VMDriver: Driver:docker HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.20.2 ClusterName:minikube Namespace:default APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.20.2 ControlPlane:true Worker:true}] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: MultiNodeRequested:false}
I0519 09:45:17.920496  125527 out.go:170] * Starting control plane node minikube in cluster minikube
I0519 09:45:17.920548  125527 cache.go:111] Beginning downloading kic base image for docker with docker
W0519 09:45:17.920558  125527 out.go:424] no arguments passed for "* Pulling base image ...\n" - returning raw string
W0519 09:45:17.920580  125527 out.go:424] no arguments passed for "* Pulling base image ...\n" - returning raw string
I0519 09:45:17.921039  125527 out.go:170] * Pulling base image ...
I0519 09:45:17.921092  125527 preload.go:98] Checking if preload exists for k8s version v1.20.2 and runtime docker
I0519 09:45:17.921130  125527 preload.go:106] Found local preload: /home/administrator/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v10-v1.20.2-docker-overlay2-amd64.tar.lz4
I0519 09:45:17.921137  125527 cache.go:54] Caching tarball of preloaded images
I0519 09:45:17.921157  125527 preload.go:132] Found /home/administrator/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v10-v1.20.2-docker-overlay2-amd64.tar.lz4 in cache, skipping download
I0519 09:45:17.921165  125527 cache.go:57] Finished verifying existence of preloaded tar for  v1.20.2 on docker
I0519 09:45:17.921159  125527 image.go:116] Checking for armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20 in local cache directory
I0519 09:45:17.921189  125527 image.go:119] Found armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20 in local cache directory, skipping pull
I0519 09:45:17.921195  125527 cache.go:131] armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20 exists in cache, skipping pull
I0519 09:45:17.921241  125527 image.go:130] Checking for armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20 in local docker daemon
I0519 09:45:17.921334  125527 profile.go:148] Saving config to /home/administrator/.minikube/profiles/minikube/config.json ...
I0519 09:45:17.976831  125527 image.go:134] Found armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20 in local docker daemon, skipping pull
I0519 09:45:17.976850  125527 cache.go:155] armdocker.rnd.ericsson.se/gcr-ericsson-remote/k8s-minikube/kicbase:v0.0.20 exists in daemon, skipping pull
I0519 09:45:17.976862  125527 cache.go:194] Successfully downloaded all kic artifacts
I0519 09:45:17.976911  125527 start.go:313] acquiring machines lock for minikube: {Name:mka7fe76a2fe1247be1f6616557b5d842178cf84 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0519 09:45:17.977222  125527 start.go:317] acquired machines lock for "minikube" in 282.078µs
I0519 09:45:17.977250  125527 start.go:93] Skipping create...Using existing machine configuration
I0519 09:45:17.977257  125527 fix.go:55] fixHost starting:
I0519 09:45:17.977762  125527 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}}
I0519 09:45:18.020908  125527 fix.go:108] recreateIfNeeded on minikube: state=Running err=<nil>
W0519 09:45:18.020951  125527 fix.go:134] unexpected machine state, will restart: <nil>
I0519 09:45:18.021763  125527 out.go:170] * Updating the running docker "minikube" container ...
I0519 09:45:18.021830  125527 machine.go:88] provisioning docker machine ...
I0519 09:45:18.021854  125527 ubuntu.go:169] provisioning hostname "minikube"
I0519 09:45:18.021921  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:18.067016  125527 main.go:128] libmachine: Using SSH client type: native
I0519 09:45:18.067412  125527 main.go:128] libmachine: &{{{<nil> 0 [] [] []} docker [0x802720] 0x8026e0 <nil>  [] 0s} 127.0.0.1 49207 <nil> <nil>}
I0519 09:45:18.067432  125527 main.go:128] libmachine: About to run SSH command:
sudo hostname minikube && echo "minikube" | sudo tee /etc/hostname
I0519 09:45:18.241862  125527 main.go:128] libmachine: SSH cmd err, output: <nil>: minikube

I0519 09:45:18.241937  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:18.289728  125527 main.go:128] libmachine: Using SSH client type: native
I0519 09:45:18.289971  125527 main.go:128] libmachine: &{{{<nil> 0 [] [] []} docker [0x802720] 0x8026e0 <nil>  [] 0s} 127.0.0.1 49207 <nil> <nil>}
I0519 09:45:18.290000  125527 main.go:128] libmachine: About to run SSH command:

                if ! grep -xq '.*\sminikube' /etc/hosts; then
                        if grep -xq '127.0.1.1\s.*' /etc/hosts; then
                                sudo sed -i 's/^127.0.1.1\s.*/127.0.1.1 minikube/g' /etc/hosts;
                        else
                                echo '127.0.1.1 minikube' | sudo tee -a /etc/hosts;
                        fi
                fi
I0519 09:45:18.433403  125527 main.go:128] libmachine: SSH cmd err, output: <nil>:
I0519 09:45:18.433427  125527 ubuntu.go:175] set auth options {CertDir:/home/administrator/.minikube CaCertPath:/home/administrator/.minikube/certs/ca.pem CaPrivateKeyPath:/home/administrator/.minikube/certs/ca-key.pem CaCertRemotePath:/etc/docker/ca.pem ServerCertPath:/home/administrator/.minikube/machines/server.pem ServerKeyPath:/home/administrator/.minikube/machines/server-key.pem ClientKeyPath:/home/administrator/.minikube/certs/key.pem ServerCertRemotePath:/etc/docker/server.pem ServerKeyRemotePath:/etc/docker/server-key.pem ClientCertPath:/home/administrator/.minikube/certs/cert.pem ServerCertSANs:[] StorePath:/home/administrator/.minikube}
I0519 09:45:18.433468  125527 ubuntu.go:177] setting up certificates
I0519 09:45:18.433482  125527 provision.go:83] configureAuth start
I0519 09:45:18.433563  125527 cli_runner.go:115] Run: docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" minikube
I0519 09:45:18.479204  125527 provision.go:137] copyHostCerts
I0519 09:45:18.479288  125527 exec_runner.go:145] found /home/administrator/.minikube/ca.pem, removing ...
I0519 09:45:18.479299  125527 exec_runner.go:190] rm: /home/administrator/.minikube/ca.pem
I0519 09:45:18.479393  125527 exec_runner.go:152] cp: /home/administrator/.minikube/certs/ca.pem --> /home/administrator/.minikube/ca.pem (1099 bytes)
I0519 09:45:18.479566  125527 exec_runner.go:145] found /home/administrator/.minikube/cert.pem, removing ...
I0519 09:45:18.479574  125527 exec_runner.go:190] rm: /home/administrator/.minikube/cert.pem
I0519 09:45:18.479628  125527 exec_runner.go:152] cp: /home/administrator/.minikube/certs/cert.pem --> /home/administrator/.minikube/cert.pem (1139 bytes)
I0519 09:45:18.479764  125527 exec_runner.go:145] found /home/administrator/.minikube/key.pem, removing ...
I0519 09:45:18.479772  125527 exec_runner.go:190] rm: /home/administrator/.minikube/key.pem
I0519 09:45:18.479821  125527 exec_runner.go:152] cp: /home/administrator/.minikube/certs/key.pem --> /home/administrator/.minikube/key.pem (1675 bytes)
I0519 09:45:18.479920  125527 provision.go:111] generating server cert: /home/administrator/.minikube/machines/server.pem ca-key=/home/administrator/.minikube/certs/ca.pem private-key=/home/administrator/.minikube/certs/ca-key.pem org=administrator.minikube san=[192.168.58.2 127.0.0.1 localhost 127.0.0.1 minikube minikube]
I0519 09:45:18.905931  125527 provision.go:165] copyRemoteCerts
I0519 09:45:18.905970  125527 ssh_runner.go:149] Run: sudo mkdir -p /etc/docker /etc/docker /etc/docker
I0519 09:45:18.906004  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:18.953634  125527 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49207 SSHKeyPath:/home/administrator/.minikube/machines/minikube/id_rsa Username:docker}
I0519 09:45:19.056387  125527 ssh_runner.go:316] scp /home/administrator/.minikube/certs/ca.pem --> /etc/docker/ca.pem (1099 bytes)
I0519 09:45:19.091184  125527 ssh_runner.go:316] scp /home/administrator/.minikube/machines/server.pem --> /etc/docker/server.pem (1220 bytes)
I0519 09:45:19.123769  125527 ssh_runner.go:316] scp /home/administrator/.minikube/machines/server-key.pem --> /etc/docker/server-key.pem (1679 bytes)
I0519 09:45:19.158131  125527 provision.go:86] duration metric: configureAuth took 724.638802ms
I0519 09:45:19.158148  125527 ubuntu.go:193] setting minikube options for container-runtime
I0519 09:45:19.158447  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:19.208356  125527 main.go:128] libmachine: Using SSH client type: native
I0519 09:45:19.208755  125527 main.go:128] libmachine: &{{{<nil> 0 [] [] []} docker [0x802720] 0x8026e0 <nil>  [] 0s} 127.0.0.1 49207 <nil> <nil>}
I0519 09:45:19.208772  125527 main.go:128] libmachine: About to run SSH command:
df --output=fstype / | tail -n 1
I0519 09:45:19.353876  125527 main.go:128] libmachine: SSH cmd err, output: <nil>: overlay

I0519 09:45:19.353890  125527 ubuntu.go:71] root file system type: overlay
I0519 09:45:19.354264  125527 provision.go:296] Updating docker unit: /lib/systemd/system/docker.service ...
I0519 09:45:19.354335  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:19.401169  125527 main.go:128] libmachine: Using SSH client type: native
I0519 09:45:19.401323  125527 main.go:128] libmachine: &{{{<nil> 0 [] [] []} docker [0x802720] 0x8026e0 <nil>  [] 0s} 127.0.0.1 49207 <nil> <nil>}
I0519 09:45:19.401404  125527 main.go:128] libmachine: About to run SSH command:
sudo mkdir -p /lib/systemd/system && printf %!s(MISSING) "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
I0519 09:45:19.555894  125527 main.go:128] libmachine: SSH cmd err, output: Process exited with status 1: [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file

I0519 09:45:19.555927  125527 ubuntu.go:195] Error setting container-runtime options during provisioning ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %!s(MISSING) "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file
I0519 09:45:19.555939  125527 machine.go:91] provisioned docker machine in 1.534100771s
I0519 09:45:19.556023  125527 ssh_runner.go:149] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I0519 09:45:19.556080  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:19.602013  125527 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49207 SSHKeyPath:/home/administrator/.minikube/machines/minikube/id_rsa Username:docker}
I0519 09:45:19.702345  125527 fix.go:57] fixHost completed within 1.725082669s
I0519 09:45:19.702359  125527 start.go:80] releasing machines lock for "minikube", held for 1.725122582s
W0519 09:45:19.702399  125527 start.go:505] error starting host: provision: ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %!s(MISSING) "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file
W0519 09:45:19.702708  125527 out.go:235] ! StartHost failed, but will try again: provision: ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %!s(MISSING) "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file

I0519 09:45:19.702838  125527 start.go:520] Will try again in 5 seconds ...
I0519 09:45:24.705105  125527 start.go:313] acquiring machines lock for minikube: {Name:mka7fe76a2fe1247be1f6616557b5d842178cf84 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0519 09:45:24.705236  125527 start.go:317] acquired machines lock for "minikube" in 103.014µs
I0519 09:45:24.705260  125527 start.go:93] Skipping create...Using existing machine configuration
I0519 09:45:24.705266  125527 fix.go:55] fixHost starting:
I0519 09:45:24.705719  125527 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}}
I0519 09:45:24.755448  125527 fix.go:108] recreateIfNeeded on minikube: state=Running err=<nil>
W0519 09:45:24.755479  125527 fix.go:134] unexpected machine state, will restart: <nil>
I0519 09:45:24.756262  125527 out.go:170] * Updating the running docker "minikube" container ...
I0519 09:45:24.756340  125527 machine.go:88] provisioning docker machine ...
I0519 09:45:24.756364  125527 ubuntu.go:169] provisioning hostname "minikube"
I0519 09:45:24.756433  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:24.798644  125527 main.go:128] libmachine: Using SSH client type: native
I0519 09:45:24.798924  125527 main.go:128] libmachine: &{{{<nil> 0 [] [] []} docker [0x802720] 0x8026e0 <nil>  [] 0s} 127.0.0.1 49207 <nil> <nil>}
I0519 09:45:24.798942  125527 main.go:128] libmachine: About to run SSH command:
sudo hostname minikube && echo "minikube" | sudo tee /etc/hostname
I0519 09:45:24.961109  125527 main.go:128] libmachine: SSH cmd err, output: <nil>: minikube

I0519 09:45:24.961199  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:25.008818  125527 main.go:128] libmachine: Using SSH client type: native
I0519 09:45:25.009093  125527 main.go:128] libmachine: &{{{<nil> 0 [] [] []} docker [0x802720] 0x8026e0 <nil>  [] 0s} 127.0.0.1 49207 <nil> <nil>}
I0519 09:45:25.009125  125527 main.go:128] libmachine: About to run SSH command:

                if ! grep -xq '.*\sminikube' /etc/hosts; then
                        if grep -xq '127.0.1.1\s.*' /etc/hosts; then
                                sudo sed -i 's/^127.0.1.1\s.*/127.0.1.1 minikube/g' /etc/hosts;
                        else
                                echo '127.0.1.1 minikube' | sudo tee -a /etc/hosts;
                        fi
                fi
I0519 09:45:25.153404  125527 main.go:128] libmachine: SSH cmd err, output: <nil>:
I0519 09:45:25.153430  125527 ubuntu.go:175] set auth options {CertDir:/home/administrator/.minikube CaCertPath:/home/administrator/.minikube/certs/ca.pem CaPrivateKeyPath:/home/administrator/.minikube/certs/ca-key.pem CaCertRemotePath:/etc/docker/ca.pem ServerCertPath:/home/administrator/.minikube/machines/server.pem ServerKeyPath:/home/administrator/.minikube/machines/server-key.pem ClientKeyPath:/home/administrator/.minikube/certs/key.pem ServerCertRemotePath:/etc/docker/server.pem ServerKeyRemotePath:/etc/docker/server-key.pem ClientCertPath:/home/administrator/.minikube/certs/cert.pem ServerCertSANs:[] StorePath:/home/administrator/.minikube}
I0519 09:45:25.153460  125527 ubuntu.go:177] setting up certificates
I0519 09:45:25.153473  125527 provision.go:83] configureAuth start
I0519 09:45:25.153542  125527 cli_runner.go:115] Run: docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" minikube
I0519 09:45:25.200335  125527 provision.go:137] copyHostCerts
I0519 09:45:25.200402  125527 exec_runner.go:145] found /home/administrator/.minikube/ca.pem, removing ...
I0519 09:45:25.200412  125527 exec_runner.go:190] rm: /home/administrator/.minikube/ca.pem
I0519 09:45:25.200484  125527 exec_runner.go:152] cp: /home/administrator/.minikube/certs/ca.pem --> /home/administrator/.minikube/ca.pem (1099 bytes)
I0519 09:45:25.200623  125527 exec_runner.go:145] found /home/administrator/.minikube/cert.pem, removing ...
I0519 09:45:25.200631  125527 exec_runner.go:190] rm: /home/administrator/.minikube/cert.pem
I0519 09:45:25.200672  125527 exec_runner.go:152] cp: /home/administrator/.minikube/certs/cert.pem --> /home/administrator/.minikube/cert.pem (1139 bytes)
I0519 09:45:25.200772  125527 exec_runner.go:145] found /home/administrator/.minikube/key.pem, removing ...
I0519 09:45:25.200790  125527 exec_runner.go:190] rm: /home/administrator/.minikube/key.pem
I0519 09:45:25.200830  125527 exec_runner.go:152] cp: /home/administrator/.minikube/certs/key.pem --> /home/administrator/.minikube/key.pem (1675 bytes)
I0519 09:45:25.200912  125527 provision.go:111] generating server cert: /home/administrator/.minikube/machines/server.pem ca-key=/home/administrator/.minikube/certs/ca.pem private-key=/home/administrator/.minikube/certs/ca-key.pem org=administrator.minikube san=[192.168.58.2 127.0.0.1 localhost 127.0.0.1 minikube minikube]
I0519 09:45:25.341197  125527 provision.go:165] copyRemoteCerts
I0519 09:45:25.341235  125527 ssh_runner.go:149] Run: sudo mkdir -p /etc/docker /etc/docker /etc/docker
I0519 09:45:25.341264  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:25.388495  125527 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49207 SSHKeyPath:/home/administrator/.minikube/machines/minikube/id_rsa Username:docker}
I0519 09:45:25.492018  125527 ssh_runner.go:316] scp /home/administrator/.minikube/certs/ca.pem --> /etc/docker/ca.pem (1099 bytes)
I0519 09:45:25.525511  125527 ssh_runner.go:316] scp /home/administrator/.minikube/machines/server.pem --> /etc/docker/server.pem (1220 bytes)
I0519 09:45:25.558606  125527 ssh_runner.go:316] scp /home/administrator/.minikube/machines/server-key.pem --> /etc/docker/server-key.pem (1675 bytes)
I0519 09:45:25.589494  125527 provision.go:86] duration metric: configureAuth took 436.009761ms
I0519 09:45:25.589511  125527 ubuntu.go:193] setting minikube options for container-runtime
I0519 09:45:25.589793  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:25.640352  125527 main.go:128] libmachine: Using SSH client type: native
I0519 09:45:25.640685  125527 main.go:128] libmachine: &{{{<nil> 0 [] [] []} docker [0x802720] 0x8026e0 <nil>  [] 0s} 127.0.0.1 49207 <nil> <nil>}
I0519 09:45:25.640702  125527 main.go:128] libmachine: About to run SSH command:
df --output=fstype / | tail -n 1
I0519 09:45:25.785883  125527 main.go:128] libmachine: SSH cmd err, output: <nil>: overlay

I0519 09:45:25.785901  125527 ubuntu.go:71] root file system type: overlay
I0519 09:45:25.786161  125527 provision.go:296] Updating docker unit: /lib/systemd/system/docker.service ...
I0519 09:45:25.786232  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:25.834572  125527 main.go:128] libmachine: Using SSH client type: native
I0519 09:45:25.834860  125527 main.go:128] libmachine: &{{{<nil> 0 [] [] []} docker [0x802720] 0x8026e0 <nil>  [] 0s} 127.0.0.1 49207 <nil> <nil>}
I0519 09:45:25.835063  125527 main.go:128] libmachine: About to run SSH command:
sudo mkdir -p /lib/systemd/system && printf %!s(MISSING) "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
I0519 09:45:25.988067  125527 main.go:128] libmachine: SSH cmd err, output: Process exited with status 1: [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file

I0519 09:45:25.988090  125527 ubuntu.go:195] Error setting container-runtime options during provisioning ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %!s(MISSING) "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file
I0519 09:45:25.988134  125527 machine.go:91] provisioned docker machine in 1.231785408s
I0519 09:45:25.988215  125527 ssh_runner.go:149] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I0519 09:45:25.988270  125527 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0519 09:45:26.036670  125527 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49207 SSHKeyPath:/home/administrator/.minikube/machines/minikube/id_rsa Username:docker}
I0519 09:45:26.134617  125527 fix.go:57] fixHost completed within 1.429346007s
I0519 09:45:26.134633  125527 start.go:80] releasing machines lock for "minikube", held for 1.429385687s
W0519 09:45:26.134999  125527 out.go:235] * Failed to start docker container. Running "minikube delete" may fix it: provision: ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %!s(MISSING) "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file

I0519 09:45:26.138224  125527 out.go:170]
W0519 09:45:26.138478  125527 out.go:235] X Exiting due to GUEST_PROVISION: Failed to start host: provision: ssh command error:
command : sudo mkdir -p /lib/systemd/system && printf %!s(MISSING) "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment="HTTP_PROXY=http://10.64.215.254:8080/"
Environment="HTTPS_PROXY=http://10.64.215.254:8080/"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com" "
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.

# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
err     : Process exited with status 1
output  : [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60

[Service]
Type=notify
Restart=on-failure

Environment=HTTP_PROXY=http://10.64.215.254:8080/
Environment=HTTPS_PROXY=http://10.64.215.254:8080/
Environment=NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com bash: line 31: -H: command not found
bash: line 32: -s: command not found
bash: line 51: [Install]: command not found
bash: -c: line 53: unexpected EOF while looking for matching `"'
bash: -c: line 54: syntax error: unexpected end of file

W0519 09:45:26.138647  125527 out.go:424] no arguments passed for "* \n" - returning raw string
W0519 09:45:26.138666  125527 out.go:235] *
W0519 09:45:26.138689  125527 out.go:424] no arguments passed for "* If the above advice does not help, please let us know:\n" - returning raw string
W0519 09:45:26.138697  125527 out.go:424] no arguments passed for "  https://github.com/kubernetes/minikube/issues/new/choose\n\n" - returning raw string
W0519 09:45:26.138704  125527 out.go:424] no arguments passed for "* Please attach the following file to the GitHub issue:\n" - returning raw string
W0519 09:45:26.138789  125527 out.go:424] no arguments passed for "* If the above advice does not help, please let us know:\n  https://github.com/kubernetes/minikube/issues/new/choose\n\n* Please attach the following file to the GitHub issue:\n* - /home/administrator/.minikube/logs/lastStart.txt\n\n" - returning raw string
W0519 09:45:26.140449  125527 out.go:235] ╭──────────────────────────────────────────────────────────────────╮
W0519 09:45:26.140467  125527 out.go:235] │                                                                  │
W0519 09:45:26.140475  125527 out.go:235] │    * If the above advice does not help, please let us know:      │
W0519 09:45:26.140482  125527 out.go:235] │      https://github.com/kubernetes/minikube/issues/new/choose    │
W0519 09:45:26.140489  125527 out.go:235] │                                                                  │
W0519 09:45:26.140496  125527 out.go:235] │    * Please attach the following file to the GitHub issue:       │
W0519 09:45:26.140515  125527 out.go:235] │    * - /home/administrator/.minikube/logs/lastStart.txt          │
W0519 09:45:26.140527  125527 out.go:235] │                                                                  │
W0519 09:45:26.140535  125527 out.go:235] ╰──────────────────────────────────────────────────────────────────╯
W0519 09:45:26.140545  125527 out.go:235]

*

X Exiting due to DRV_CP_ENDPOINT: failed to parse ip for ""
* Suggestion:

    Recreate the cluster by running:
    minikube delete
    minikube start
*
╭─────────────────────────────────────────────────────────────────────────────╮
│                                                                             │
│    * If the above advice does not help, please let us know:                 │
│      https://github.com/kubernetes/minikube/issues/new/choose               │
│                                                                             │
│    * Please attach the following file to the GitHub issue:                  │
│    * - /tmp/minikube_logs_22a8ea1839b085d11940395ff21d22573fe03819_0.log    │
│                                                                             │
╰─────────────────────────────────────────────────────────────────────────────╯

Full output of failed command:

Included logs above.

Anythoughts on what I could be doing wrong? Is this a missing package?

About this issue

Most upvoted comments

Hello @afbjorklund.

In my case i havn’t proxy configuration. export|grep -iF "proxy" or env|grep -iF "proxy" return nothing