Closed LalatenduMohanty closed 7 years ago
This is not issue with the ISO at all because docker daemon from ISO is generating correct certs info and putting back to host now what happened here is host docker version not honoring the DOCKER_CERT_PATH
which we need to dig.
$ eval $(./minishift docker-env)
[prkumar@localhost ~]$ docker --tlscacert=/home/prkumar/.minishift/certs/ca.pem --tlscert=/home/prkumar/.minishift/certs/cert.pem --tlskey=/home/prkumar/.minishift/certs/key.pem info
Containers: 5
Running: 5
Paused: 0
Stopped: 0
Images: 5
Server Version: 1.12.5
Storage Driver: devicemapper
Pool Name: docker-8:1-1568270-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop5
Metadata file: /dev/loop6
Data Space Used: 704.7 MB
Data Space Total: 107.4 GB
Data Space Available: 18.27 GB
Metadata Space Used: 1.438 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.146 GB
Thin Pool Minimum Free Space: 10.74 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /mnt/sda1/var/lib/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
Metadata loop file: /mnt/sda1/var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.135-RHEL7 (2016-11-16)
Logging Driver: json-file
Plugins:
Volume: local
Network: host bridge overlay null
Kernel Version: 3.10.0-514.6.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 2
CPUs: 2
Total Memory: 1.954 GiB
Name: minishift
ID: 62YH:UYXS:GYOR:DAEG:ET54:AGNF:7DXR:FXAU:AEX7:IN4V:HJ6I:TU7E
Labels:
provider=kvm
Registries: docker.io (secure)
$ docker info <= here host docker daemon not taking DOCKER_CERT_PATH variable
Could not read CA certificate "/etc/docker/ca.pem": open /etc/docker/ca.pem: no such file or directory
Closing this issue not related to ISO.
It is an issue in Fedora 25 and it is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1402074
Please keep open, as it causes issues for our instructions on Fedora 25. Please close when verified with a working version.
Oh, this is on CentOS ISO... will create a new issue for minishift
Error:
could not read CA certificate "/etc/docker/ca.pem": open /etc/docker/ca.pem: no such file or directory
OS: F25 + KVMSteps to reproduce: