View mem.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main (void) {
int n = 0;
char *p;
while (1) {
if ((p = malloc(1<<20)) == NULL) {
View gist:e280af7e63a28a1ee423c752783b9a06
version: '2.3'
volumes:
jenkins-data:
services:
jenkins:
image: jenkinsci/blueocean
user: root
ports:
View gist:0ac5e5c76043e95fa0b5ff85c1b0c93e
11:hugetlb:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
10:blkio:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
9:freezer:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
8:memory:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
7:perf_event:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
6:cpuset:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
5:pids:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
4:devices:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
3:cpuacct,cpu:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
2:net_prio,net_cls:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
View cgroup
13:name=systemd:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
12:pids:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
11:hugetlb:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
10:net_prio:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
9:perf_event:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
8:net_cls:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
7:freezer:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
6:devices:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
5:memory:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
4:blkio:/docker-ce/docker/7cacbc548047c130ae50653548f037285806d49c0c4c1543925cffb8873ed213
View docker-compose.yml
version: '3.4'
services:
services:
proxy:
image: traefik:1.4.6
ports:
- "5000:5000"
- "8080:8080"
volumes:
View gist:8855456bac79b484732a6977d4199987
Started by user Damien Duportal
[Pipeline] node
Running on ope-aws in /home/ubuntu/workspace/test
[Pipeline] {
[Pipeline] stage
[Pipeline] { (One)
[Pipeline] echo
Hello
[Pipeline] }
[Pipeline] // stage
View gist:7ae612501b848a55ad29fe421d775b96
Stage 'Build Skipped' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
an exception which occurred:
View docker-compose.yml
version: '2.1'
services:
training:
extends:
file: ../training-commons/docs-toolkit/common.yml
service: training
volumes:
- ./src:/documents/training
View gist:9b8b80888cee5315e1417958ac9a41f8
# Get last stable version from Github Release page
LATEST_COMPOSE_STABLE_VERSION="$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)"
echo "Last stable version found is: ${LATEST_COMPOSE_STABLE_VERSION}"
# Download and set executable rights (note that this edited curl command can be run with sudo)
curl -L -o /usr/bin/docker-compose \
"https://github.com/docker/compose/releases/download/${LATEST_COMPOSE_STABLE_VERSION}/docker-compose-$(uname -s)-$(uname -m)"
chmod a+x /usr/bin/docker-compose
View gist:516b4b3124a341f0305fb5c8357ec2f0
unset LATEST_COMPOSE_STABLE_VERSION
LATEST_COMPOSE_STABLE_VERSION="$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)"
echo "Last stable version found is: ${LATEST_COMPOSE_STABLE_VERSION}. Downloading..."
curl -L -o /usr/bin/docker-compose \
"https://github.com/docker/compose/releases/download/${LATEST_COMPOSE_STABLE_VERSION}/docker-compose-$(uname -s)-$(uname -m)"
chmod a+x /usr/bin/docker-compose