Sign inSign up

ailurarctos/hostenter

By ailurarctos

•Updated about 10 years ago

Access the Docker daemon host

Image
2

543

ailurarctos/hostenter repository overview

⁠hostenter

Use hostenter to access the Docker daemon host:

PS C:\Users\You> docker run -it --privileged --pid=host hostenter
moby:/#

The --privileged and --pid=host options are required.

You can also use hostenter to run arbitrary commands on the Docker daemon host:

PS C:\Users\You> docker run -it --privileged --pid=host hostenter ls
C                home             port             sys
Database         host_docker_app  proc             tmp
bin              init             root             usr
c                lib              run              var
dev              linuxrc          sbin
etc              media            srv

Happy hacking!

Tag summary

Content type

Image

Digest

Size

4.1 MB

Last updated

about 10 years ago

docker pull ailurarctos/hostenter