Reference Getting Started with runC
mkdir runc
cd runc
docker pull busybox
docker export $(docker create busybox) > busybox.tar
mkdir rootfs
tar -C rootfs -xf busybox.tar
runc spec > container.json
sudo runc
#!/usr/bin/env bash | |
# global parameters | |
g_tmp_folder="ncdc_tmp"; | |
g_output_folder="ncdc_data"; | |
g_remote_host="ftp3.ncdc.noaa.gov"; | |
g_remote_path="pub/data/noaa"; | |
Reference Getting Started with runC
mkdir runc
cd runc
docker pull busybox
docker export $(docker create busybox) > busybox.tar
mkdir rootfs
tar -C rootfs -xf busybox.tar
runc spec > container.json
sudo runc
diff --git a/include/linux/sched.h b/include/linux/sched.h | |
index 4a1f493..ef258ef 100644 | |
--- a/include/linux/sched.h | |
+++ b/include/linux/sched.h | |
@@ -1179,6 +1179,10 @@ struct sched_entity { | |
u64 exec_start; | |
u64 sum_exec_runtime; | |
u64 vruntime; | |
+#ifdef CONFIG_CFS_BVT | |
+ u64 effective_vruntime; |
#!/bin/sh | |
# check for where the latest version of IDEA is installed | |
IDEA=/opt/intellij-idea-ce/bin/idea.sh | |
wd=`pwd` | |
# were we given a directory? | |
if [ -d "$1" ]; then | |
# echo "checking for things in the working dir given" | |
wd=`ls -1d "$1" | head -n1` |
// g++ evhttp-multh-thread-httpd.cpp -levent | |
#include <event.h> | |
#include <evhttp.h> | |
#include <pthread.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <fcntl.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> |