Docker Machine create fails if /etc/os-release not found.
This issue still exists, and has been stated 'this will be fixed in v0.5.0 , will it?
If nothing else have it fall-through to /etc/os-release /etc/redhat-release /etc/centos-release etc..
Running pre-create checks... Creating machine... Waiting for machine to be running, this may take a few minutes... Machine is running, waiting for SSH to be available... Detecting operating system of created instance... Error creating machine: Error detecting OS: Error getting SSH command: Something went wrong running an SSH command! command : cat /etc/os-release err : exit status 1 output : cat: /etc/os-release: No such file or directory
I don't think it will be fixed in the 0.5.0 release. Where did you read that? Is there a duplicate issue we can consolidate into?
google: docker-machine /etc/os-release issue
not sure which had the 'will be fixed in v0.5.0 was in.. as there are so many.
1031 waiting for vm to start 1684 ..
1643 1596 1019 1833 1591
...
On Mon, Nov 2, 2015 at 3:50 PM, Nathan LeClaire [email protected] wrote:
I don't think it will be fixed in the 0.5.0 release. Where did you read that? Is there a duplicate issue we can consolidate into?
— Reply to this email directly or view it on GitHub https://github.com/docker/machine/issues/2143#issuecomment-153195646.
At a quick glance I don't see any issues which clearly reference this bug in the name but I'll treat this one as the bug report until / if we find such a dupe.
But for reference, it is still an issue in 0.5.0.
I'm affected by this too
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
still no solution for it?
+1
If I understand this summary correctly, /etc/os-release is systemd-specific which does not apply to CentOS 6.
+1
+1
The same with macOS which does not have any "*release" or "*version" files in "/etc". Some unanswered question also here: https://forums.docker.com/t/connecting-to-docker-running-on-mac-server/9174
Same problem. Host: MacOS 10.15.7 docker-machine version 0.16.2, build bd45ab13
Running pre-create checks...
Creating machine...
(mini) Importing SSH key...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Error creating machine: Error detecting OS: Error getting SSH command: ssh command error:
command : cat /etc/os-release
err : exit status 1
output : cat: /etc/os-release: No such file or directory
Same Problem on MacOS 11.2.3 Any solutions?