Docker Community Forums

Share and learn in the Docker community.

Cannot detect Linux distribution or it's unsupported

Getting this error when run this command which was given by the web dashboard(changed the key to *)

curl -Ls https://get.cloud.docker.com/ | sudo -H sh -s f74*************************
ERROR: Cannot detect Linux distribution or it's unsupported
Learn more: https://docs.docker.com/docker-cloud/tutorials/byoh/

while the docker info command gives the following output:

sudo docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.12.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 0
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null host bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 3.13.0-37-generic
Operating System: Ubuntu 14.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.56 GiB
Name: G1
ID: WNIV:V2NZ:6IR7:LDI6:ZYT6:E6N5:FLM2:X5MB:Q5KG:LTNO:HXJX:6PM4
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 127.0.0.0/8

Is docker cloud not supported on Ubuntu 14.04.1? Any tips on how to resolve this?

Thank you

These are pretty old. I believe the latest available is 14.04.5. I suggest you do some apt-get update && apt-get upgrade to get yourself up to latest and try again.

Still the same issue after update and upgrade commands

Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 1
Server Version: 1.12.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 3
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host overlay null bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 3.13.0-37-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.56 GiB
Name: arch-Pro-G1
ID: WNIV:V2NZ:6IR7:*************
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 127.0.0.0/8

did anyone solve this problem? I am facing this on Oracle Linux.

[root@dxaa2aipwebtt01 cloud]# curl -Ls https://get.cloud.docker.com/ | sudo -H sh -s 9***************************be
ERROR: Cannot detect Linux distribution or it’s unsupported
Learn more: https://docs.docker.com/docker-cloud/tutorials/byoh/
[root@dxaa2aipwebtt01 cloud]#

I have gone through the tutorial and have ensured the required ports are opened if that is the first suggestion to do.