minishift / minishift-centos-iso

CentOS based ISO as an alternative for boot2docker ISO
GNU Lesser General Public License v3.0
40 stars 33 forks source link

Issue #253 Mount /etc/docker from persistent storage #254

Closed gbraad closed 6 years ago

gbraad commented 6 years ago

Fixes #253

praveenkumar commented 6 years ago

I tested it out and works as expected.

praveenkumar commented 6 years ago
$ ./minishift start --iso-url http://artifacts.ci.centos.org/minishift/minishift-centos-iso/pr/254/minishift-centos7.iso
[...]
The server is accessible via web console at:
    https://192.168.64.2:8443

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin

 $ ./minishift addon apply registry-route
-- Applying addon 'registry-route':.....
Add-on 'registry-route' created docker-registry route. Please run following commands to login to the OpenShift docker registry:
$ eval $(minishift docker-env)
$ eval $(minishift oc-env)

$ ./minishift stop
Stopping the OpenShift cluster...
Cluster stopped.

$ ./minishift start --no-provision
[...]
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 17% used OK

$ ./minishift ssh
[docker@minishift ~]$ ls /etc/docker/
ca.pem  certs.d  daemon.json  key.json  seccomp.json  server-key.pem  server.pem
LalatenduMohanty commented 6 years ago

LGTM. Though I have not tested it.