(http://gmpg.org/xfn/11) The Most Pointless Docker Command Ever – zwischenzugs (//s0.wp.com) (//widgets.wp.com) (zwischenzugs » Feed) (https://zwischenzugs.com/feed/) (zwischenzugs » Comments Feed) (https://zwischenzugs.com/comments/feed/) (zwischenzugs » The Most Pointless Docker Command Ever Comments Feed) (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/feed/) (https://s0.wp.com/_static/??-eJxtzFsKgCAQheENZaMg+BStRXQI80oz0vbDCILo5cAHhx/OJlwtjIUhd9FS30Ih2JGbdfEx5FrH+J6Q4MBkGb1olfij2RFN8J9MIeIbvjXua16UUUZLLY3eL2BkNNM=&cssminify=yes) (https://s0.wp.com/_static/??-eJylzFsKgCAQQNENlZMhPT6itaQNZk0WjhbtPmkLfV4uHLjP0hw+oo9wUrLOM9iUU2Ow+QSES/ZCigp0cjSDpsNsJTkdpvAAx4dQGOYC/kFxwf2Dxn2Qba26plN9u74k/Dhk&cssminify=yes) (https://s0.wp.com/_static/??-eJzTLy/QzcxLzilNSS3WzyrWz01NyUxMzUnNTc0rQeEU5CRWphbp5qSmJyZX6uVm5uklFxfr6OPTDpRD5sM02efaGpoZmFkYGRuZGmQBAHPvL0Y=&cssminify=yes) (https://s0.wp.com/_static/??-eJyVzDEOgCAMQNELiQU1Jg7Gs2AlDYpAaInx9ro5O/7hfbiywhTFRYEcKvnIQPXN1RVSa0h4MOxOssVDBXunKoqK34DlDq5F5gb+LIoVH4k/vpyzGYe+03oyw/4AcmU1KQ==&cssminify=yes) (https://s0.wp.com/_static/??/wp-content/mu-plugins/core-compat/wp-mediaelement.css,/wp-content/mu-plugins/wpcom-bbpress-premium-themes.css?m=1432920480j&cssminify=yes) (https://s0.wp.com/wp-content/mu-plugins/jetpack-mu-wpcom-plugin/moon/vendor/automattic/jetpack-mu-wpcom/src/build/verbum-comments/verbum-comments.css?m=1720042392i&cssminify=yes) (https://widgets.wp.com/verbum-block-editor/block-editor.css?ver=1721244820) (https://s0.wp.com/_static/??-eJydkMEKwjAQRH/IuFgtPYmfIjVd09gkG7pbin/vtggWLAq9hJnDm8ksjNlYSoJJIA4mh8H5xPBAybXt3h4iUYKrTxYcJuy9Erwu95Z5B4tQaTEiQx5u4FODGfVJYtQHzy32pgCWZ8AtoCJwC2S7TbXTnLnajNlS/Ir4c45IzRC0YvSNQ2EQyiYTq1rfs4hzSEa/XYvXnKUx91D7/hfaow52Kt28/mMn6BLPh6o4VceiKMvHC/83ssk=&cssminify=yes) (https://s0.wp.com/wp-content/mu-plugins/global-print/global-print.css?m=1465851035i&cssminify=yes) (https://s0.wp.com/_static/??-eJyNjcEKwjAQRH/IuA1aehI/ReImJKmb3eAmFP9eW3oRL16GeTC8gaUaFG6BG5RuKvWYWWEOrTp87AxFZA3fKShocs/gnfevrWaOR1Q9wP+mW2YEFcyODEkU/YIfW0uhfH7TGSLJ3dE6uJaLneww2mkYT/MbUOlJHA==&cssminify=yes) (RSD) (https://zwischenzugs.wordpress.com/xmlrpc.php?rsd) (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/) (https://wp.me/p1pzsW-aK) (https://public-api.wordpress.com/oembed/?format=json&url=https%3A%2F%2Fzwischenzugs.com%2F2015%2F06%2F24%2Fthe-most-pointless-docker-command-ever%2F&for=wpcom-auto-discovery) (https://public-api.wordpress.com/oembed/?format=xml&url=https%3A%2F%2Fzwischenzugs.com%2F2015%2F06%2F24%2Fthe-most-pointless-docker-command-ever%2F&for=wpcom-auto-discovery) (https://s0.wp.com/i/favicon.ico) (https://s0.wp.com/i/favicon.ico) (https://s0.wp.com/i/webclip.png) (https://zwischenzugs.com/?openidserver=1) (https://zwischenzugs.com/) (https://zwischenzugs.com/osd.xml) (zwischenzugs) (https://s1.wp.com/opensearch.xml) (WordPress.com) (https://zwischenzugs.com/xmlrpc.php) (https://0.gravatar.com/js/hovercards/hovercards.min.css?ver=202436b46853b388ab997de6bfa04c1e397b91783aa2d3e125eb7f62b2f41b95dd5e57) (https://s0.wp.com/wp-content/mu-plugins/actionbar/actionbar.css?v=20240822) Skip to content (https://zwischenzugs.com/) () (https://zwischenzugs.com/) zwischenzugs The Most Pointless Docker Command Ever (https://zwischenzugs.com/author/zwischenzugs/) (Posts by zwischenzugs) zwischenzugs (https://zwischenzugs.com/category/technical/) Technical June 24, 2015 September 4, 2018 2 Minutes What? This article will show you how you can undo the things Docker does for you in a Docker command. Clearer now? OK, Docker relies on Linux namespaces to isolate effectively copy parts of the system so it ends up looking like you are on a separate machine. For example, when you run a Docker container: $ docker run -ti busybox ps -a PID USER COMMAND 1 root ps -a it only ‘sees’ its own process IDs. This is because it has its own PID namespace. Similarly, you have your own network namespace: $ docker run -ti busybox netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path You also have your own view of inter-process communication and the filesystem. Go on then This is possibly the most pointless possible docker command ever run, but here goes: docker run -ti --privileged --net=host --pid=host --ipc=host --volume /:/host busybox chroot /host The three ‘=host’ flags bypass the network, pid and ipc namespaces. The volume flag mounts the root filesystem of the host to the ‘/host’ folder in the container (you can’t mount to ‘/’ in the container). The privileged flags gives the user full access to the root user’s capabilities. All we need is the chroot command, so we use a small image (busybox) to chroot to the filesystem we mounted. What we end up with is a Docker container that is running as root with full capabilities in the host’s filesystem, will full access to the network, process table and IPC constructs on the host. You can even ‘su’ to other users on the host. If you can think of a legitimate use for this, please drop me a line! Why? Because you can! Also, it’s quite instructive. And starting from this, you can imagine scenarios where you end up with something quite useful. Imagine you have an image – called ‘filecheck’ – that runs a check on the filesystem for problematic files. Then you could run a command like this (which won’t work BTW – filecheck does not exist): docker run --workdir /host -v /:/host:ro filecheck This modified version of the pointless command dispenses with the chroot in favour of changing the workdir to ‘/host’, and – crucially – the mount now uses the ‘:ro’ suffix to mount the host’s filesystem read-only, preventing the image from doing damage to it. So you can check your host’s filesystem relatively safely without installing anything. You can imagine similar network or process checkers running for their namespaces. Can you think of any other uses for modifications of this pointless command?This post is based on material from (http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62) Docker in Practice , available on Manning’s Early Access Program. Get 39% off with the code: 39miell Share this: (mailto:?subject=%5BShared%20Post%5D%20The%20Most%20Pointless%20Docker%20Command%20Ever&body=https%3A%2F%2Fzwischenzugs.com%2F2015%2F06%2F24%2Fthe-most-pointless-docker-command-ever%2F&share=email&nb=1) (Click to email a link to a friend) Email (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/?share=reddit&nb=1) (Click to share on Reddit) Reddit (https://twitter.com/share) Tweet (https://getpocket.com/save) Pocket Like Loading... (Like or Reblog) Related (https://zwischenzugs.com/2015/05/21/a-field-guide-to-docker-security-measures/) (A Field Guide to Docker Security Measures) A Field Guide to Docker Security Measures May 21, 2015 Liked by 1 person (https://zwischenzugs.com/2016/02/06/docker-1-10-highlights/) (Docker 1.10 Highlights – Updated) Docker 1.10 Highlights – Updated February 6, 2016 (https://zwischenzugs.com/2015/11/21/understanding-docker-network-namespaces/) (Understanding Docker – Network Namespaces) Understanding Docker – Network Namespaces November 21, 2015 () Published by zwischenzugs (https://zwischenzugs.com/author/zwischenzugs/) View all posts by zwischenzugs Published June 24, 2015 September 4, 2018 Post navigation (https://zwischenzugs.com/2015/06/14/my-favourite-docker-tip/) Previous Post My Favourite Docker Tip (https://zwischenzugs.com/2015/06/28/a-coreos-cluster-in-two-minutes-with-four-commands/) Next Post A CoreOS Cluster in Two Minutes With Four Commands 5 thoughts on “The Most Pointless Docker Command Ever ” () (http://gravatar.com/acsandeep) acsandeep says: (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/#comment-266) November 6, 2015 at 12:12 pm How about using this trick to collect stats for Collectd while still isolating it from the Main OS (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/?replytocom=266#respond) Reply () (https://zwischenzugs.wordpress.com) zwischenzugs says: (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/#comment-267) November 6, 2015 at 12:24 pm Yes, monitoring is a good use case for this – I recently abandoned a containerized nagios implementation because it was essentially leading me down this path. (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/?replytocom=267#respond) Reply () mviereck says: (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/#comment-569) October 19, 2016 at 10:28 pm Thanks for this pointless, in no way isolated docker command! It helps me to isolate the core of two problems I have with GPU acceleration for GUI apps in docker ((https://github.com/mviereck/x11docker) https://github.com/mviereck/x11docker ). Running my images with `–privileged –icp=host –pid=host –net=host` the problems went away, and I could break down to need only `–net` for one and `–ipc` for the other problem. Now I can look further for the core of the problems as I have a direction to look at, hopefully not needing one of these options at last. (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/?replytocom=569#respond) Reply Pingback: (https://getridbug.com/information-security/how-to-execute-a-command-directly-on-the-host-system-through-docker-sock-in-a-docker-container/) How to execute a command directly on the host system through docker.sock in a Docker container? () Jacky Wang says: (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/#comment-133067) December 23, 2022 at 5:06 pm Thanks for your sharing! In one of my projects, I need to detect keystrokes from the underly host while the app runs on a container. We are not exposed to just the file system namespaces only. I wonder if this technique can help me to do that, or any extra commands that I will need. (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/?replytocom=133067#respond) Reply Leave a comment (/2015/06/24/the-most-pointless-docker-command-ever/#respond) Cancel reply (666) (0) (8492ba291c) () (c6b0c19926) Δ (1725245471295) This site uses Akismet to reduce spam. (https://akismet.com/privacy/) Learn how your comment data is processed . Top Posts & Pages (https://zwischenzugs.com/2018/06/08/anatomy-of-a-linux-dns-lookup-part-i/) Anatomy of a Linux DNS Lookup - Part I (https://zwischenzugs.com/2011/03/06/shakespeare_unexceptional_vocabulary/) Shakespeare's Vocabulary Considered Unexceptional (https://zwischenzugs.com/2018/06/18/anatomy-of-a-linux-dns-lookup-part-ii/) Anatomy of a Linux DNS Lookup - Part II (https://zwischenzugs.com/2023/06/27/learn-jq-the-hard-way-part-i-json/) Learn jq the Hard Way, Part I: JSON (https://zwischenzugs.com/2022/02/02/grep-flags-the-good-stuff/) grep Flags - The Good Stuff (https://zwischenzugs.com/2015/06/14/my-favourite-docker-tip/) My Favourite Docker Tip (https://zwischenzugs.com/2019/09/04/the-lazy-persons-guide-to-the-info-command/) The Lazy Person's Guide to the Info Command (https://zwischenzugs.com/2023/06/27/learn-jq-the-hard-waypart-iii-filters/) Learn jq the Hard Way,Part III: Filters (https://zwischenzugs.com/2021/07/12/if-you-want-to-transform-it-start-with-finance/) If You Want To Transform IT, Start With Finance (https://zwischenzugs.com/2023/07/13/learn-jq-the-hard-waypart-iv-pipes/) Learn jq the Hard Way,Part IV: Pipes Recent Posts (https://zwischenzugs.com/2024/07/16/does-crossplane-replace-terraform-part-i-the-theory/) Does Crossplane Replace Terraform? Part I: the Theory (https://zwischenzugs.com/2024/07/05/in-praise-of-low-tech-devex/) In Praise of Low Tech DevEx (https://zwischenzugs.com/2024/06/27/at-50-years-old-is-sql-becoming-a-niche-skill/) At 50 Years Old, Is SQL Becoming a Niche Skill? (https://zwischenzugs.com/2024/06/18/ok-cloud-on-prem-is-alright/) OK Cloud, On-Prem is Alright (https://zwischenzugs.com/2023/12/27/what-i-learned-using-private-llms-to-write-an-undergraduate-history-essay/) What I Learned Using Private LLMs to Write an Undergraduate History Essay (https://zwischenzugs.com/2023/07/13/learn-jq-the-hard-waypart-iv-pipes/) Learn jq the Hard Way,Part IV: Pipes (https://zwischenzugs.com/2023/06/27/learn-jq-the-hard-waypart-iii-filters/) Learn jq the Hard Way,Part III: Filters (https://zwischenzugs.com/2023/06/27/learn-jq-the-hard-way-part-ii-the-jq-command/) Learn jq the Hard Way, Part II: The jq Command (https://zwischenzugs.com/2023/06/27/learn-jq-the-hard-way-part-i-json/) Learn jq the Hard Way, Part I: JSON (https://zwischenzugs.com/2023/06/04/monoliths-microservervices-and-mainframes-reflections-on-amazon-prime-videos-monolith-move/) Monoliths, Microservervices and Mainframes – Reflections on Amazon Prime Video’s Monolith Move (https://zwischenzugs.com/2023/04/27/is-it-imperative-to-be-declarative/) Is it Imperative to be Declarative? (https://zwischenzugs.com/2023/03/29/the-biggest-cloud-native-strategy-mistake/) The Biggest Cloud Native Strategy Mistake (https://zwischenzugs.com/2023/03/19/practical-strategies-for-implementing-devsecops-in-large-enterprises/) Practical Strategies for Implementing DevSecOps in Large Enterprises (https://zwischenzugs.com/2022/09/28/a-little-shell-rabbit-hole/) A Little Shell Rabbit Hole (https://zwischenzugs.com/2022/08/08/who-should-write-the-terraform/) “Who Should Write the Terraform?” (https://zwischenzugs.com/2022/05/29/business-value-management-autonomy-and-engineer-retention/) Business Value, Soccer Canteens, Engineer Retention, and the Bricklayer Fallacy (https://zwischenzugs.com/2022/04/05/five-reasons-to-master-git-on-the-command-line/) Five Reasons To Master Git On The Command Line (https://zwischenzugs.com/2022/03/13/how-3d-printing-kindled-a-love-for-baroque-sculpture/) How 3D Printing Kindled A Love For Baroque Sculpture (https://zwischenzugs.com/2022/02/02/grep-flags-the-good-stuff/) grep Flags – The Good Stuff (https://zwischenzugs.com/2022/01/17/why-its-great-to-be-a-consultant/) Why It’s Great To Be A Consultant (https://zwischenzugs.com/2022/01/04/practical-shell-patterns-i-actually-use/) Practical Shell Patterns I Actually Use (https://zwischenzugs.com/2021/12/06/why-i-keep-coming-back-to-cynefin/) Why I Keep Coming Back to Cynefin (https://zwischenzugs.com/2021/10/18/is-agility-related-to-commitment-money-flows-part-ii/) Is Agility Related to Commitment? – Money Flows Part II (https://zwischenzugs.com/2021/08/27/five-ansible-techniques-i-wish-id-known-earlier/) Five Ansible Techniques I Wish I’d Known Earlier (https://zwischenzugs.com/2021/07/31/a-hello-world-gitops-example-walkthrough/) A ‘Hello World’ GitOps Example Walkthrough (https://zwischenzugs.com/2021/07/12/if-you-want-to-transform-it-start-with-finance/) If You Want To Transform IT, Start With Finance (https://zwischenzugs.com/2021/04/16/how-to-waste-hundreds-of-millions-on-your-it-transformation/) How To Waste Hundreds of Millions on Your IT Transformation (https://zwischenzugs.com/2021/03/15/when-should-i-interrupt-someone/) When Should I Interrupt Someone? (https://zwischenzugs.com/2021/02/21/an-incompetent-newbie-takes-up-3d-printing/) An Incompetent Newbie Takes Up 3D Printing (https://zwischenzugs.com/2020/11/30/gitops-decisions/) GitOps Decisions (https://zwischenzugs.com/2020/09/10/five-ways-to-undo-a-commit-in-git/) Five Ways to Undo a Commit in Git (https://zwischenzugs.com/2020/07/25/the-halving-of-the-centre-covid-and-its-effect-on-london-property/) The Halving of the Centre: Covid and its Effect on London Property (https://zwischenzugs.com/2020/07/13/why-do-we-have-dev-rels-now/) Why Do We Have Dev Rels Now? (https://zwischenzugs.com/2020/06/25/the-runbooks-project/) The Runbooks Project (https://zwischenzugs.com/2020/05/09/some-relatively-obscure-bash-tips/) Some Relatively Obscure Bash Tips (https://zwischenzugs.com/2020/05/05/riding-the-tiger-lessons-learned-implementing-istio/) Riding the Tiger: Lessons Learned Implementing Istio (https://zwischenzugs.com/2020/01/04/the-astonishing-prescience-of-nam-june-paik/) The Astonishing Prescience of Nam June Paik (https://zwischenzugs.com/2020/01/01/notes-on-books-read-in-2019/) Notes on Books Read in 2019 (https://zwischenzugs.com/2019/11/27/the-first-non-bullshit-book-about-culture-ive-read/) The First Non-Bullshit Book About Culture I’ve Read (https://zwischenzugs.com/2019/11/06/why-everyone-working-in-devops-should-read-the-toyota-way/) Why Everyone Working in DevOps Should Read The Toyota Way (https://zwischenzugs.com/2019/09/27/surgically-busting-the-docker-cache/) Surgically Busting the Docker Cache (https://zwischenzugs.com/2019/09/22/software-security-field-guide-for-the-bewildered/) Software Security Field Guide for the Bewildered (https://zwischenzugs.com/2019/09/04/the-lazy-persons-guide-to-the-info-command/) The Lazy Person’s Guide to the Info Command (https://zwischenzugs.com/2019/08/30/a-hot-take-on-github-actions/) A Hot Take on GitHub Actions (https://zwischenzugs.com/2019/08/25/seven-god-like-bash-history-shortcuts-you-will-actually-use/) Seven God-Like Bash History Shortcuts You Will Actually Use (https://zwischenzugs.com/2019/08/15/how-long-will-it-take-for-the-leavers-to-leave/) How Long Will It Take For The Leavers To Leave? (https://zwischenzugs.com/2019/07/27/goodbye-docker-purging-is-such-sweet-sorrow/) Goodbye Docker: Purging is Such Sweet Sorrow (https://zwischenzugs.com/2019/05/11/seven-surprising-bash-variables/) Seven Surprising Bash Variables (https://zwischenzugs.com/2019/04/23/the-missing-readline-primer/) The Missing Readline Primer (https://zwischenzugs.com/2019/04/12/apples-hq-ruskin-gothic-architecture-and-agile/) Apple’s HQ, Ruskin, Gothic Architecture, and Agile (https://zwischenzugs.com/2019/04/03/eight-obscure-bash-options-you-might-want-to-know-about/) Eight Obscure Bash Options You Might Want to Know About (https://zwischenzugs.com/2019/03/25/aws-vs-k8s-is-the-new-windows-vs-linux/) ‘AWS vs K8s’ is the new ‘Windows vs Linux’ (https://zwischenzugs.com/2019/03/16/pranking-the-bash-binary/) Pranking the Bash Binary (https://zwischenzugs.com/2019/02/27/bash-startup-explained/) Bash Startup Explained (https://zwischenzugs.com/2019/01/09/git-hooks-the-hard-way/) Git Hooks the Hard Way (https://zwischenzugs.com/2019/01/02/notes-on-books-read-in-2018/) Notes on Books Read in 2018 (https://zwischenzugs.com/2018/11/25/six-ways-to-level-up-your-nmap-game/) Six Ways to Level Up Your nmap Game (https://zwischenzugs.com/2018/10/30/five-things-i-wish-id-known-about-git/) Five Things I Wish I’d Known About Git (https://zwischenzugs.com/2018/10/12/eleven-bash-tips-you-might-want-to-know/) Eleven bash Tips You Might Want to Know (https://zwischenzugs.com/2018/10/09/learn-bash-debugging-techniques-the-hard-way/) Learn Bash Debugging Techniques the Hard Way (https://zwischenzugs.com/2018/10/02/why-are-enterprises-so-slow/) Why Are Enterprises So Slow? (https://zwischenzugs.com/2018/09/13/anatomy-of-a-linux-dns-lookup-part-v-two-debug-nightmares/) Anatomy of a Linux DNS Lookup – Part V – Two Debug Nightmares (https://zwischenzugs.com/2018/08/06/anatomy-of-a-linux-dns-lookup-part-iv/) Anatomy of a Linux DNS Lookup – Part IV (https://zwischenzugs.com/2018/07/06/anatomy-of-a-linux-dns-lookup-part-iii/) Anatomy of a Linux DNS Lookup – Part III (https://zwischenzugs.com/2018/06/18/anatomy-of-a-linux-dns-lookup-part-ii/) Anatomy of a Linux DNS Lookup – Part II (https://zwischenzugs.com/2018/06/08/anatomy-of-a-linux-dns-lookup-part-i/) Anatomy of a Linux DNS Lookup – Part I (https://zwischenzugs.com/2018/05/22/a-docker-image-in-less-than-1000-bytes/) A Docker Image in Less Than 1000 Bytes (https://zwischenzugs.com/2018/05/21/autotrace-debug-on-steroids/) Autotrace – Debug on Steroids (https://zwischenzugs.com/2018/05/14/beyond-punk-rock-git-in-eleven-steps/) Beyond ‘Punk Rock Git’ in Eleven Steps (https://zwischenzugs.com/2018/05/05/sandboxing-docker-with-googles-gvisor/) Sandboxing Docker with Google’s gVisor (https://zwischenzugs.com/2018/04/23/unprivileged-docker-builds-a-proof-of-concept/) Unprivileged Docker Builds – A Proof of Concept (https://zwischenzugs.com/2018/04/05/learn-git-rebase-interactively/) Learn Git Rebase Interactively (https://zwischenzugs.com/2018/03/27/terminal-perf-graphs-in-one-command/) Terminal Perf Graphs in one Command (https://zwischenzugs.com/2018/03/26/git-log-the-good-parts/) git log – the Good Parts (https://zwischenzugs.com/2018/03/14/five-key-git-concepts-explained-the-hard-way/) Five Key Git Concepts Explained the Hard Way (https://zwischenzugs.com/2018/03/08/create-your-own-git-diagrams/) Create Your Own Git Diagrams (https://zwischenzugs.com/2018/02/24/5-things-i-did-to-change-a-teams-culture/) Five Things I Did to Change a Team’s Culture (https://zwischenzugs.com/2018/02/05/centralise-your-bash-history/) Centralise Your Bash History (https://zwischenzugs.com/2018/01/26/how-and-why-i-run-my-own-dns-servers/) How (and Why) I Run My Own DNS Servers (https://zwischenzugs.com/2018/01/21/ten-more-things-i-wish-id-known-about-bash/) Ten More Things I Wish I'd Known About bash (https://zwischenzugs.com/2018/01/18/download-a-free-sample-of-learn-bash-the-hard-way/) Download a Free Sample of Learn Bash the Hard Way (https://zwischenzugs.com/2018/01/06/ten-things-i-wish-id-known-about-bash/) Ten Things I Wish I’d Known About bash (https://zwischenzugs.com/2017/12/18/project-management-as-code-with-graphviz/) Project Management as Code with Graphviz (https://zwischenzugs.com/2017/12/11/how-to-manually-clear-locks-in-jenkins/) How to Manually Clear Locks in Jenkins (https://zwischenzugs.com/2017/12/03/how-i-manage-my-time/) How I Manage My Time (https://zwischenzugs.com/2017/11/25/ten-things-i-wish-id-known-about-chef/) Ten Things I Wish I’d Known About Chef (https://zwischenzugs.com/2017/11/18/__trashed-4/) Vagrant and Ohai / Chef IP Address Hack (https://zwischenzugs.com/2017/11/11/towards-a-national-computer-grid-electronic-computers-1965/) ‘Towards a National Computer Grid’ – Electronic Computers, 1965 (https://zwischenzugs.com/2017/10/31/a-complete-chef-infrastructure-on-your-laptop/) A Complete Chef Infrastructure on Your Laptop (https://zwischenzugs.com/2017/10/27/ten-things-i-wish-id-known-before-using-vagrant/) Ten Things I Wish I’d Known Before Using Vagrant (https://zwischenzugs.com/2017/10/23/a-checklist-for-docker-in-the-enterprise-updated/) A Checklist for Docker in the Enterprise (Updated) (https://zwischenzugs.com/2017/10/21/openshift-3-6-dns-in-pictures/) OpenShift 3.6 DNS In Pictures (https://zwischenzugs.com/2017/10/16/puppeteer-headless-chrome-in-a-container/) Puppeteer – Headless Chrome in a Container (https://zwischenzugs.com/2017/10/15/my-20-year-experience-of-software-development-methodologies/) My 20-Year Experience of Software Development Methodologies (https://zwischenzugs.com/2017/08/07/a-non-cloud-serverless-application-pattern-using-git-and-docker/) A Non-Cloud Serverless Application Pattern Using Git and Docker (https://zwischenzugs.com/2017/07/31/run-your-own-aws-apis-on-openshift/) Run Your Own AWS APIs on OpenShift (https://zwischenzugs.com/2017/07/15/dockerized-headless-chrome-example/) Dockerized Headless Chrome Example (https://zwischenzugs.com/2017/06/18/convert-any-server-to-a-docker-container-update-ii/) Convert a Server to a Docker Container (Update II) (https://zwischenzugs.com/2017/05/06/automating-dockerized-jenkins-upgrades/) Automating Dockerized Jenkins Upgrades (https://zwischenzugs.com/2017/04/23/things-i-wish-i-knew-before-using-jenkins-pipelines/) Ten Things I Wish I’d Known Before Using Jenkins Pipelines (https://zwischenzugs.com/2017/04/11/five-books-i-advise-every-devops-engineer-to-read/) Five Books I Advise Every DevOps Engineer to Read (https://zwischenzugs.com/2017/04/04/things-i-learned-managing-site-reliability-for-some-of-the-worlds-busiest-gambling-sites/) Things I Learned Managing Site Reliability for Some of the World’s Busiest Gambling Sites (https://zwischenzugs.com/2017/03/18/clustered-vm-testing-how-to/) Clustered VM Testing How-To (https://zwischenzugs.com/2017/03/04/easy-shell-automation/) Easy Shell Automation (https://zwischenzugs.com/2017/03/04/1-minute-multi-node-vm-setup/) 1-Minute Multi-Node VM Setup (https://zwischenzugs.com/2017/03/04/migrating-an-openshift-etcd-cluster/) Migrating an OpenShift etcd Cluster (https://zwischenzugs.com/2017/03/04/a-complete-openshift-cluster-on-vagrant-step-by-step/) A Complete OpenShift Cluster on Vagrant, Step by Step (https://zwischenzugs.com/2017/03/04/learn-kubernetes-the-hard-way-the-easy-and-cheap-way/) Learn Kubernetes the Hard Way (the Easy and Cheap Way) (https://zwischenzugs.com/2017/03/04/docker-in-the-enterprise/) Docker in the Enterprise (https://zwischenzugs.com/2017/02/21/terraform-and-dynamic-environments/) Terraform and Dynamic Environments (https://zwischenzugs.com/2016/08/29/bash-to-python-converter/) Bash to Python Converter (https://zwischenzugs.com/2016/07/22/hello-world-unikernel-walkthrough/) Hello world Unikernel Walkthrough (https://zwischenzugs.com/2016/07/08/a-checklist-for-docker-in-the-enterprise/) A checklist for Docker in the Enterprise (https://zwischenzugs.com/2016/06/23/a-quick-tour-of-docker-1-12/) A Quick Tour of Docker 1.12 (https://zwischenzugs.com/2016/06/04/power-git-log-graphing/) Power ‘git log’ graphing (https://zwischenzugs.com/2016/05/21/ssh-r-reverse-tunnel-man-page-hell/) ssh -R (reverse tunnel) man page hell (https://zwischenzugs.com/2016/05/15/writing-a-technical-book/) Writing a Technical Book (https://zwischenzugs.com/2016/04/24/interactive-git-tutorials-rebase-and-bisect/) Interactive Git Tutorials – Rebase and Bisect (https://zwischenzugs.com/2016/04/12/hitler-uses-docker-annotated/) Hitler Uses Docker, Annotated (https://zwischenzugs.com/2016/04/05/linux-scales/) Linux Scales (https://zwischenzugs.com/2016/04/05/play-with-kubernetes-quickly-using-docker-updated/) Play With Kubernetes Quickly Using Docker (Updated) (https://zwischenzugs.com/2016/04/04/convert-any-server-to-a-docker-container-updated/) Convert Any Server to a Docker Container (Updated) (https://zwischenzugs.com/2016/02/25/922/) CI as Code Part III: Dynamic Jenkins-Swarm Example (https://zwischenzugs.com/2016/02/06/docker-1-10-highlights/) Docker 1.10 Highlights – Updated (https://zwischenzugs.com/2016/01/30/ci-as-code-part-ii-stateless-jenkins-with-dynamic-docker-slaves/) CI as Code Part II: Stateless Jenkins With Dynamic Docker Slaves (https://zwischenzugs.com/2016/01/24/ci-as-code-stateless-jenkins-deployments-using-docker/) CI as Code Part I: Stateless Jenkins Deployments Using Docker (https://zwischenzugs.com/2015/12/22/docker-ecosystem-rosetta-stones/) Docker Ecosystem Rosetta Stones (https://zwischenzugs.com/2015/12/17/understanding-docker-a-tour-of-logical-volume-management/) Understanding Docker – A Tour of Logical Volume Management (https://zwischenzugs.com/2015/12/17/888/) Automating Docker Security Validation (https://zwischenzugs.com/2015/11/26/the-it-crowd-was-right-what-i-learned-by-reading-a-lot-of-rfcs/) The IT Crowd Was Right – What I learned by reading a lot of RFCs (https://zwischenzugs.com/2015/11/21/understanding-docker-network-namespaces/) Understanding Docker – Network Namespaces (https://zwischenzugs.com/2015/11/17/dockerconeu-2015-talk-you-know-more-than-you-think/) DockerConEU 2015 Talk – You Know More Than You Think (https://zwischenzugs.com/2015/10/11/docker-migration-in-flight-criu/) Docker Migration In-Flight CRIU (https://zwischenzugs.com/2015/08/26/a-high-availability-phoenix-and-ab-deployment-framework-using-docker/) A High Availability Phoenix and A/B Deployment Framework using Docker (https://zwischenzugs.com/2015/08/06/quick-intro-to-kubernetes/) Quick Intro to Kubernetes (https://zwischenzugs.com/2015/07/18/take-openshift-for-a-spin-in-four-commands/) Take OpenShift for a spin in four commands (https://zwischenzugs.com/2015/07/04/redhats-docker-build-method-s2i-2/) RedHat's Docker Build Method – S2I (https://zwischenzugs.com/2015/07/04/redhats-docker-build-method-s2i/) RedHat’s Docker Build Method – S2I (https://zwischenzugs.com/2015/07/01/bash-shortcuts-gem/) Bash Shortcuts Gem (https://zwischenzugs.com/2015/06/28/a-coreos-cluster-in-two-minutes-with-four-commands/) A CoreOS Cluster in Two Minutes With Four Commands (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/) The Most Pointless Docker Command Ever (https://zwischenzugs.com/2015/06/14/my-favourite-docker-tip/) My Favourite Docker Tip (https://zwischenzugs.com/2015/05/21/a-field-guide-to-docker-security-measures/) A Field Guide to Docker Security Measures (https://zwischenzugs.com/2015/04/29/docker-selinux-experimentation-with-reduced-pain/) Docker SELinux Experimentation with Reduced Pain (https://zwischenzugs.com/2015/04/20/storage-drivers-and-docker/) Storage Drivers and Docker (https://zwischenzugs.com/2015/04/06/play-with-kubernetes-quickly-using-docker/) Play With Kubernetes Quickly Using Docker (https://zwischenzugs.com/2015/04/01/play-with-an-openshift-paas-using-docker/) Play with an OpenShift PaaS using Docker (https://zwischenzugs.com/2015/03/19/scale-your-jenkins-compute-with-your-dev-team-use-docker-and-jenkins-swarm/) Scale Your Jenkins Compute With Your Dev Team: Use Docker and Jenkins Swarm (https://zwischenzugs.com/2015/03/14/docker-in-practice-a-guide-for-engineers/) Docker in Practice – A Guide for Engineers (https://zwischenzugs.com/2015/02/21/fight-docker-package-drift/) Fight Docker Package Drift! (Follow Button) (https://wordpress.com/?ref=footer_custom_com) Website Built with WordPress.com . (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/#comments) Comment () Reblog () Subscribe () Subscribed (https://zwischenzugs.com) () zwischenzugs Join 266 other subscribers (Enter your email address) (subscribe) (20870870) (https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/) (actionbar-follow) (be3ac5ceee) (Sign me up) Sign me up Already have a WordPress.com account? (https://wordpress.com/log-in?redirect_to=https%3A%2F%2Fr-login.wordpress.com%2Fremote-login.php%3Faction%3Dlink%26back%3Dhttps%253A%252F%252Fzwischenzugs.com%252F2015%252F06%252F24%252Fthe-most-pointless-docker-command-ever%252F) Log in now. (https://zwischenzugs.com) () zwischenzugs (https://zwischenzugs.wordpress.com/wp-admin/customize.php?url=https%3A%2F%2Fzwischenzugs.wordpress.com%2F2015%2F06%2F24%2Fthe-most-pointless-docker-command-ever%2F) Customize () Subscribe () Subscribed (https://wordpress.com/start/) Sign up (https://wordpress.com/log-in?redirect_to=https%3A%2F%2Fr-login.wordpress.com%2Fremote-login.php%3Faction%3Dlink%26back%3Dhttps%253A%252F%252Fzwischenzugs.com%252F2015%252F06%252F24%252Fthe-most-pointless-docker-command-ever%252F) Log in (https://wp.me/p1pzsW-aK) Copy shortlink (https://wordpress.com/abuse/?report_url=https://zwischenzugs.com/2015/06/24/the-most-pointless-docker-command-ever/) Report this content (https://wordpress.com/read/blogs/20870870/posts/666) View post in Reader (https://subscribe.wordpress.com/) Manage subscriptions () Collapse this bar %d () (Twitter settings iframe)