mirror of
https://github.com/rancher/rke.git
synced 2025-09-08 18:39:40 +00:00
Merge pull request #268 from galal-hussein/atomic_centos
Add z option to volume binds
This commit is contained in:
@@ -90,8 +90,8 @@ func buildEtcdConfig(host *hosts.Host, etcdService v3.ETCDService, initCluster,
|
||||
hostCfg := &container.HostConfig{
|
||||
RestartPolicy: container.RestartPolicy{Name: "always"},
|
||||
Binds: []string{
|
||||
"/var/lib/etcd:/etcd-data",
|
||||
"/etc/kubernetes:/etc/kubernetes",
|
||||
"/var/lib/etcd:/etcd-data:z",
|
||||
"/etc/kubernetes:/etc/kubernetes:z",
|
||||
},
|
||||
NetworkMode: "host",
|
||||
}
|
||||
|
Reference in New Issue
Block a user