try (final DockerClient docker = getNewDockerClient()) {
final ContainerConfig containerConfig =
docker.inspectContainer(taskStatus.getContainerId()).config();
assertEquals(MEMORY, containerConfig.memory());
assertEquals(MEMORY_SWAP, containerConfig.memorySwap());
assertEquals(CPU_SHARES, containerConfig.cpuShares());
assertEquals(CPUSET, containerConfig.cpuset());
}
}