mirror of
https://github.com/rancher/os.git
synced 2025-07-04 10:36:14 +00:00
Only bind mount in certs in userdocker
This commit is contained in:
parent
36f5b16194
commit
b47f41f96d
@ -103,7 +103,6 @@ func NewConfig() *Config {
|
|||||||
CREATE_ONLY + "=true",
|
CREATE_ONLY + "=true",
|
||||||
},
|
},
|
||||||
Volumes: []string{
|
Volumes: []string{
|
||||||
"/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt",
|
|
||||||
"/var/lib/rancher/conf:/var/lib/rancher/conf",
|
"/var/lib/rancher/conf:/var/lib/rancher/conf",
|
||||||
"/lib/modules:/lib/modules:ro",
|
"/lib/modules:/lib/modules:ro",
|
||||||
"/lib/firmware:/lib/firmware:ro",
|
"/lib/firmware:/lib/firmware:ro",
|
||||||
@ -256,6 +255,13 @@ func NewConfig() *Config {
|
|||||||
Links: []string{
|
Links: []string{
|
||||||
"network",
|
"network",
|
||||||
},
|
},
|
||||||
|
Volumes: []string{
|
||||||
|
"/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt",
|
||||||
|
},
|
||||||
|
VolumesFrom: []string{
|
||||||
|
"all-volumes",
|
||||||
|
},
|
||||||
|
},
|
||||||
"userdockerwait": {
|
"userdockerwait": {
|
||||||
Image: "userdockerwait",
|
Image: "userdockerwait",
|
||||||
Net: "host",
|
Net: "host",
|
||||||
|
Loading…
Reference in New Issue
Block a user