RHEL host - Unable to deploy container with Rancher Secrets

Getting the following error while trying to deploy a container with secrets on RHEL 7.1 host. Are Rancher Secrets supported in RHEL 7.1 version ?

Kernel Version - 3.10.0-693.5.2.el7.x86_64
Docker Version - docker-1.12.6-61.git85d7426.el7.x86_64

transitioningMessage": “Error response from daemon: linux mounts: Duplicate mount point ‘/run/secrets’”.

Take a look here, there is a workaround if you don’t need the entitlement/subscription info from RHEL in your containers:

https://github.com/rancher/rancher/issues/9427

Thanks for the info. But docker daemon doesn’t start after setting this option as given below. It fails with the following error.

OPTIONS=’–selinux-enabled --log-driver=journald --signature-verification=false enable-secrets=false’

Error Message:

systemd: Starting Docker Storage Setup…
docker-storage-setup: INFO: Volume group backing root filesystem could not be determined
docker-storage-setup: ERROR: No valid volume group found. Exiting.
systemd: docker-storage-setup.service: main process exited, code=exited, status=1/FAILURE
systemd: Failed to start Docker Storage Setup.

systemd: docker.service: main process exited, code=exited, status=1/FAILURE
systemd: Failed to start Docker Application Container Engine.

Its --enable-secrets=false :slight_smile: