mirror of
https://github.com/rancher/os.git
synced 2025-07-18 17:11:04 +00:00
Add udev as create only container in system-docker
This commit is contained in:
parent
a051b1ad70
commit
9ed1f075bb
@ -71,6 +71,17 @@ func NewConfig() *Config {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
SystemContainers: []ContainerConfig{
|
SystemContainers: []ContainerConfig{
|
||||||
|
{
|
||||||
|
Id: "udev",
|
||||||
|
Cmd: "--name=udev " +
|
||||||
|
"--net=none " +
|
||||||
|
"--privileged " +
|
||||||
|
"--rm " +
|
||||||
|
"-v=/dev:/host/dev " +
|
||||||
|
"-v=/lib/modules:/lib/modules:ro " +
|
||||||
|
"udev",
|
||||||
|
CreateOnly: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Id: "system-volumes",
|
Id: "system-volumes",
|
||||||
Cmd: "--name=system-volumes " +
|
Cmd: "--name=system-volumes " +
|
||||||
|
Loading…
Reference in New Issue
Block a user