Docker Community Forums

Share and learn in the Docker community.

UCP 3.0 upgrade fails


(Garredaustin) #1

When I do the install or upgrade I get the following error:

FATA[0000] Error response from daemon: linux mounts: Could not find source mount of /var/lib/kubelet Please refer to https://www.docker.com/ddc-42 for more information

I am on AWS running the following:
Docker 18.05.0-ce
CentOS Linux release 7.5.1804

The commands I used to try the install:

docker container run --rm -it
–name ucp
-v /var/run/docker.sock:/var/run/docker.sock
docker/ucp:3.0.1
upgrade --interactive

The screen output from the above command:

INFO[0000] Your engine version 18.05.0-ce, build f150324 (3.10.0-862.3.2.el7.x86_64) is compatible with UCP 3.0.1 (2f7c7e1)
FATA[0000] Error response from daemon: linux mounts: Could not find source mount of /var/lib/kubelet Please refer to https://www.docker.com/ddc-42 for more information


(Doanbutar) #2

Have you tried to follow the kb : https://success.docker.com/article/install-ucp-3-on-old-distro ?

After following the KB, you may try to re-install and include --debug option


(Manglu) #3

Based on my understanding - UCP 3.0 is not supported on the version of Docker Engine that you are using (18.05.0-ce). It is interesting to see this information message:

INFO[0000] Your engine version 18.05.0-ce, build f150324 (3.10.0-862.3.2.el7.x86_64) is compatible with UCP 3.0.1 (2f7c7e1)

I am not sure when this document (compatibility matrix) was created. It states the following:

Docker Enterprise Edition 2.0 requires Engine 17.06 and will NOT be compatible with the 18.03 Engine version. Any new features in the 18.03 Engine will not work with UCP. Please expect a newer Engine release to add this compatibility.

  • List item

Also, the Docker Engine version is stated as 18.05.0-ce. I was under the impression that UCP runs only on Docker EE Engine (and not CE engines).

The UCP installation requirements states the following:

Hardware and software requirements

You can install UCP on-premises or on a cloud provider. Common requirements:

Docker EE Engine version 17.06.2-ee-8; values of n in the -ee- suffix must be 8 or higher
Linux kernel version 3.10 or higher
A static IP address