I hereby claim:
- I am iavael on github.
- I am iavael (https://keybase.io/iavael) on keybase.
- I have a public key ASBRxz_UTKkeWtl8j6OANQaZRIY4tbKv2KzFeyPsCEZNYQo
To claim this, I am signing this object:
docker run -it --rm --uts=host --pid=host --net=host --userns=host -v /:/tmp/root busybox chroot /tmp/root sh -l |
#!/bin/bash | |
set -e | |
if [ -z "${1}" ]; then | |
echo "no cgroup in arg" >&2 | |
exit 10 | |
fi | |
declare MEM_MAX="$(cat ${1}/memory.limit_in_bytes)" |
I hereby claim:
To claim this, I am signing this object:
#include <stdlib.h> | |
#include <stdio.h> | |
#include <ctype.h> | |
#include <fcntl.h> | |
#include <sys/stat.h> | |
#include <sys/ioctl.h> | |
#include <string.h> | |
#include <unistd.h> |