Seth Hoenig
87dbc7162b
deps: upgrade docker and runc
...
This PR upgrades
- docker dependency to the latest tagged release (v20.10.12)
- runc dependency to the latest tagged release (v1.0.3)
Docker does not abide by [semver](https://github.com/moby/moby/issues/39302 ), so it is marked +incompatible,
and transitive dependencies are upgrade manually.
Runc made three relevant breaking changes
* cgroup manager .Set changed to accept Resources instead of Cgroup
3f65946756
* config.Device moved to devices.Device
https://github.com/opencontainers/runc/pull/2679
* mountinfo.Mounted now returns an error if the specified path does not exist
https://github.com/moby/sys/blob/mountinfo/v0.5.0/mountinfo/mountinfo.go#L16
2022-01-18 08:35:26 -06:00
zhsj
46b335d652
deps: update runc to v1.0.0-rc93
...
includes updates for breaking changes in runc v1.0.0-rc93
2021-03-31 10:57:02 -04:00
Mahmood Ali
edaa16589b
honor task user when execing into raw_exec task ( #9439 )
...
Fix #9210 .
This update the executor so it honors the User when using nomad alloc exec. The bug was that the exec task didn't honor the init command when execing.
2020-11-25 09:34:10 -05:00
Shengjing Zhu
274bf2ee1c
Adjust cgroup change in libcontainer
2020-08-20 00:31:07 +08:00
Nick Ethier
149578ca1e
executor: rename wrapNetns to withNetworkIsolation
2019-09-30 21:38:31 -04:00
Nick Ethier
e6ce6d2c2b
comment wrapNetns
2019-09-30 12:06:52 -04:00
Nick Ethier
2f16eb9640
executor: run exec commands in netns if set
2019-09-30 11:50:22 -04:00
Nick Ethier
d28d865100
executor: support network namespacing on universal executor
2019-07-31 01:03:58 -04:00
Lang Martin
c7cd018655
executor_universal_linux log a link to the docs on cgroup error
2019-07-24 12:37:33 -04:00
Lang Martin
cab04997f0
executor_universal_linux raw_exec cgroup failure is not fatal
2019-07-22 15:16:36 -04:00
Lang Martin
1a9c598fc2
executor_universal_linux getAllPids chooses cgroup when available
2019-07-17 17:33:55 -04:00
Danielle Tomlinson
d2136e0aa7
drivers: Move client/drivers/executor to drivers/shared/executor
2018-11-30 10:46:13 +01:00