-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vendor: update vendor'd libcontainer version
This patch updates the vendor'd libcontainer version, so that Docker can take advantage of the updates to the `user` API. Signed-off-by: Aleksa Sarai <[email protected]> (github: cyphar)
- Loading branch information
Showing
10 changed files
with
824 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
209 changes: 209 additions & 0 deletions
209
vendor/src/github.com/docker/libcontainer/sample_configs/route_source_address_selection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
{ | ||
"capabilities": [ | ||
"CHOWN", | ||
"DAC_OVERRIDE", | ||
"FOWNER", | ||
"MKNOD", | ||
"NET_RAW", | ||
"SETGID", | ||
"SETUID", | ||
"SETFCAP", | ||
"SETPCAP", | ||
"NET_BIND_SERVICE", | ||
"SYS_CHROOT", | ||
"KILL" | ||
], | ||
"cgroups": { | ||
"allowed_devices": [ | ||
{ | ||
"cgroup_permissions": "m", | ||
"major_number": -1, | ||
"minor_number": -1, | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "m", | ||
"major_number": -1, | ||
"minor_number": -1, | ||
"type": 98 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"major_number": 5, | ||
"minor_number": 1, | ||
"path": "/dev/console", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"major_number": 4, | ||
"path": "/dev/tty0", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"major_number": 4, | ||
"minor_number": 1, | ||
"path": "/dev/tty1", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"major_number": 136, | ||
"minor_number": -1, | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"major_number": 5, | ||
"minor_number": 2, | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"major_number": 10, | ||
"minor_number": 200, | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 3, | ||
"path": "/dev/null", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 5, | ||
"path": "/dev/zero", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 7, | ||
"path": "/dev/full", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 5, | ||
"path": "/dev/tty", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 9, | ||
"path": "/dev/urandom", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 8, | ||
"path": "/dev/random", | ||
"type": 99 | ||
} | ||
], | ||
"name": "docker-koye", | ||
"parent": "docker" | ||
}, | ||
"restrict_sys": true, | ||
"mount_config": { | ||
"device_nodes": [ | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 3, | ||
"path": "/dev/null", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 5, | ||
"path": "/dev/zero", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 7, | ||
"path": "/dev/full", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 5, | ||
"path": "/dev/tty", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 9, | ||
"path": "/dev/urandom", | ||
"type": 99 | ||
}, | ||
{ | ||
"cgroup_permissions": "rwm", | ||
"file_mode": 438, | ||
"major_number": 1, | ||
"minor_number": 8, | ||
"path": "/dev/random", | ||
"type": 99 | ||
} | ||
] | ||
}, | ||
"environment": [ | ||
"HOME=/", | ||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | ||
"HOSTNAME=koye", | ||
"TERM=xterm" | ||
], | ||
"hostname": "koye", | ||
"namespaces": { | ||
"NEWIPC": true, | ||
"NEWNET": true, | ||
"NEWNS": true, | ||
"NEWPID": true, | ||
"NEWUTS": true | ||
}, | ||
"networks": [ | ||
{ | ||
"address": "127.0.0.1/0", | ||
"gateway": "localhost", | ||
"mtu": 1500, | ||
"type": "loopback" | ||
}, | ||
{ | ||
"address": "172.17.0.101/16", | ||
"bridge": "docker0", | ||
"veth_prefix": "veth", | ||
"mtu": 1500, | ||
"type": "veth" | ||
} | ||
], | ||
"routes": [ | ||
{ | ||
"destination": "0.0.0.0/0", | ||
"source": "172.17.0.101", | ||
"gateway": "172.17.42.1", | ||
"interface_name": "eth0" | ||
} | ||
], | ||
"tty": true | ||
} |
Oops, something went wrong.