open-nomad/client/testutil
Seth Hoenig 68894bdc62
docker: disable driver when running as non-root on cgroups v2 hosts (#16063)
* docker: disable driver when running as non-root on cgroups v2 hosts

This PR modifies the docker driver to behave like exec when being run
as a non-root user on a host machine with cgroups v2 enabled. Because
of how cpu resources are managed by the Nomad client, the nomad agent
must be run as root to manage docker-created cgroups.

* cl: update cl
2023-02-06 14:09:19 -06:00
..
docker.go tests: expect Docker on AppVeyor 2019-02-20 07:41:47 -05:00
driver_compatible.go docker: disable driver when running as non-root on cgroups v2 hosts (#16063) 2023-02-06 14:09:19 -06:00
driver_compatible_default.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
driver_compatible_linux.go client: cgroups v2 code review followup 2022-03-24 13:40:42 -05:00
rpc.go fixup! vendor: explicit use of hashicorp/go-msgpack 2020-03-31 09:48:07 -04:00