Skip to content

Instantly share code, notes, and snippets.

@mattiasb
Created March 2, 2020 14:20
Show Gist options
  • Save mattiasb/4284bc870e90259c7920da35f68feb0c to your computer and use it in GitHub Desktop.
Save mattiasb/4284bc870e90259c7920da35f68feb0c to your computer and use it in GitHub Desktop.
Jenkins dind
Started by user Mattias Bengtsson
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] node
Running on builder22_Linux in /home/company/jenkins/workspace/Experiments/mattiasb/DockerTest
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
+ docker inspect -f . node:7-alpine
.
[Pipeline] withDockerContainer
builder22_Linux seems to be running inside container 29a128def6328593fba8051580d774804cd1a6d1fde485156f715d682e1c6214
$ docker run -t -d -u 10000:10000 -w /home/company/jenkins/workspace/Experiments/mattiasb/DockerTest --volumes-from 29a128def6328593fba8051580d774804cd1a6d1fde485156f715d682e1c6214 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** node:7-alpine cat
$ docker top da727f11fc5fd621b4b2ded0d82c58bef8395d76cbbf15a4f105ebf634940fa8 -eo pid,comm
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Mounts)
[Pipeline] sh
+ mount
overlay on / type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/TDXMK3TTGQ6XBMBC7YUMZJZK3G:/var/lib/docker/overlay2/l/3T7XMFPVEWK7HNJOGL243VZKGT:/var/lib/docker/overlay2/l/MEVS4COPW774LLWW3NDU54QJOD:/var/lib/docker/overlay2/l/FCJMLM7BNPHU25CRDNUT4LUJ4W,upperdir=/var/lib/docker/overlay2/e0d93441d197776eec904e2d4764e6d3a1fdf1a3c56195317f278bddc061666f/diff,workdir=/var/lib/docker/overlay2/e0d93441d197776eec904e2d4764e6d3a1fdf1a3c56195317f278bddc061666f/work)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,size=65536k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666)
sysfs on /sys type sysfs (ro,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,relatime,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (ro,nosuid,nodev,noexec,relatime,xattr,name=systemd)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (ro,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (ro,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (ro,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/perf_event type cgroup (ro,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (ro,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (ro,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (ro,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (ro,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/rdma type cgroup (ro,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (ro,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (ro,nosuid,nodev,noexec,relatime,blkio)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
/dev/mapper/local-root on /etc/resolv.conf type ext4 (rw,relatime,data=ordered)
/dev/mapper/local-root on /etc/hostname type ext4 (rw,relatime,data=ordered)
/dev/mapper/local-root on /etc/hosts type ext4 (rw,relatime,data=ordered)
/dev/mapper/local-root on /home/company/.conan type ext4 (rw,relatime,data=ordered)
/dev/mapper/local-root on /home/company/.ssh type ext4 (rw,relatime,data=ordered)
/dev/mapper/local-root on /home/company/.buildcache-kpi type ext4 (rw,relatime,data=ordered)
tmpfs on /var/run/docker.sock type tmpfs (rw,nosuid,noexec,relatime,size=6587580k,mode=755)
/dev/mapper/local-root on /mnt/disks/cache type ext4 (rw,relatime,data=ordered)
/dev/mapper/local-root on /home/company/.buildcache type ext4 (rw,relatime,data=ordered)
/dev/mapper/local-root on /home/company/.ccache type ext4 (rw,relatime,data=ordered)
/dev/mapper/local-root on /home/company/jenkins type ext4 (rw,relatime,data=ordered)
devpts on /dev/console type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666)
proc on /proc/bus type proc (ro,relatime)
proc on /proc/fs type proc (ro,relatime)
proc on /proc/irq type proc (ro,relatime)
proc on /proc/sys type proc (ro,relatime)
proc on /proc/sysrq-trigger type proc (ro,relatime)
tmpfs on /proc/acpi type tmpfs (ro,relatime)
tmpfs on /proc/kcore type tmpfs (rw,nosuid,size=65536k,mode=755)
tmpfs on /proc/keys type tmpfs (rw,nosuid,size=65536k,mode=755)
tmpfs on /proc/timer_list type tmpfs (rw,nosuid,size=65536k,mode=755)
tmpfs on /proc/sched_debug type tmpfs (rw,nosuid,size=65536k,mode=755)
tmpfs on /proc/scsi type tmpfs (ro,relatime)
tmpfs on /sys/firmware type tmpfs (ro,relatime)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 da727f11fc5fd621b4b2ded0d82c58bef8395d76cbbf15a4f105ebf634940fa8
$ docker rm -f da727f11fc5fd621b4b2ded0d82c58bef8395d76cbbf15a4f105ebf634940fa8
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
pipeline {
agent {
docker {
image 'node:7-alpine'
}
}
stages {
stage('Mounts') {
steps {
sh 'mount || true'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment