Skip to content

Instantly share code, notes, and snippets.

$ node server.js --max-old-space=1 --max-new-space=1
{ rss: 1637019648, heapTotal: 821939528, heapUsed: 810931688 }
$ docker run -it brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/jenkins-1-rhel7 ls -l /usr/lib64/jenkins/openshift-pipeline.hpi
-rw-r--r--. 1 root root 3508363 Feb 12 14:15 /usr/lib64/jenkins/openshift-pipeline.hpi
origin (master)$ docker run -it ci.dev.openshift.redhat.com:5000/openshift/jenkins-1-rhel7 ls -l /usr/lib64/jenkins/openshift-pipeline.hpi
-rw-r--r--. 1 root root 3508363 Feb 12 14:15 /usr/lib64/jenkins/openshift-pipeline.hpi
t$ cat Dockerfile
FROM centos
RUN rm /usr/bin/tar
$ docker build -t notar .
Sending build context to Docker daemon 2.048 kB
Step 0 : FROM centos
---> 0f73ae75014f
Step 1 : RUN rm /usr/bin/tar
ruby-hello-world (master)$ ls -l /tmp/a
total 0
-rwx------. 1 mysql root 0 Aug 24 13:00 b
ruby-hello-world (master)$ ls -ld /tmp/a
drwxrwxr-x. 2 bparees bparees 4096 Aug 24 13:00 /tmp/a
ruby-hello-world (master)$ rm -rf /tmp/a
ruby-hello-world (master)$ ls -ld /tmp/a
drwxrwxr-x. 3 bparees bparees 4096 Aug 24 13:02 /tmp/a
ruby-hello-world (master)$ ls -ld /tmp/a/b
[bparees@bparees ~/git/gocode/src/github.com/openshift]$ docker run -int openshift/docker-builder /bin/bash
Warning: '-n' is deprecated, it will be removed soon. See usage.
docker
docker
bash-4.2# docker
bash: docker: command not found