<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/root-your-docker-host-in-10-seconds-for-fun-and-profit-o7nng0qbw" -->

---
title: Root your Docker host in 10 seconds for fun and profit
description: A post discussing the vulnerability of adding users to the 'docker' group, which grants root access to the Docker daemon. It demonstrates how easy it is to...
canonical: https://daily.dev/posts/root-your-docker-host-in-10-seconds-for-fun-and-profit-o7nng0qbw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Root your Docker host in 10 seconds for fun and profit | daily.dev
og:description: A post discussing the vulnerability of adding users to the 'docker' group, which grants root access to the Docker daemon. It demonstrates how easy it is to...
og:url: https://daily.dev/posts/root-your-docker-host-in-10-seconds-for-fun-and-profit-o7nng0qbw
og:image: https://api.daily.dev/og/posts/o7Nng0qbw.png
og:image:alt: Root your Docker host in 10 seconds for fun and profit
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Root your Docker host in 10 seconds for fun and profit

**[Hacker News](https://daily.dev/sources/hn)** · 4 min read · 20 upvotes · 0 comments

## Summary

A post discussing the vulnerability of adding users to the 'docker' group, which grants root access to the Docker daemon. It demonstrates how easy it is to exploit this vulnerability and provides a workaround solution using UID remapping.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.electricmonk.nl/log/2017/09/30/root-your-docker-host-in-10-seconds-for-fun-and-profit/>

---

Tags: [#security](https://daily.dev/tags/security), [#docker](https://daily.dev/tags/docker), [#vulnerability](https://daily.dev/tags/vulnerability)

[View this post on daily.dev](https://daily.dev/posts/root-your-docker-host-in-10-seconds-for-fun-and-profit-o7nng0qbw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Root your Docker host in 10 seconds for fun and profit","url":"https://daily.dev/posts/root-your-docker-host-in-10-seconds-for-fun-and-profit-o7nng0qbw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/root-your-docker-host-in-10-seconds-for-fun-and-profit-o7nng0qbw"},"datePublished":"2024-05-28T12:30:44.676Z","dateModified":"2024-08-23T15:04:04.566Z","description":"A post discussing the vulnerability of adding users to the 'docker' group, which grants root access to the Docker daemon. It demonstrates how easy it is to...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fb3bf0a2d3b00401b21227ba53231000?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fb3bf0a2d3b00401b21227ba53231000?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/root-your-docker-host-in-10-seconds-for-fun-and-profit-o7nng0qbw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":20},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,docker,vulnerability","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Root your Docker host in 10 seconds for fun and profit"}]}
```

